/* inet_pton.c -- convert IPv4 and IPv6 addresses from text to binary form
- Copyright (c) 2006 Free Software Foundation, Inc.
+
+ Copyright (C) 2006 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
* SOFTWARE.
*/
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
/* Specification. */
#include "inet_pton.h"
case AF_INET:
return (inet_pton4 (src, dst));
-#if HAVE_IPV4
+#if HAVE_IPV6
case AF_INET6:
return (inet_pton6 (src, dst));
#endif