Use netinet_in module.
authorSimon Josefsson <simon@josefsson.org>
Fri, 28 Jul 2006 17:27:50 +0000 (17:27 +0000)
committerSimon Josefsson <simon@josefsson.org>
Fri, 28 Jul 2006 17:27:50 +0000 (17:27 +0000)
lib/ChangeLog
lib/inet_ntop.h
lib/inet_pton.h
modules/inet_ntop
modules/inet_pton

index 372e145..5b3e242 100644 (file)
@@ -1,5 +1,10 @@
 2006-07-28  Simon Josefsson  <jas@extundo.com>
 
+       * inet_ntop.h, inet_pton.h: No need to guard netinet/in.h
+       #include's.
+
+2006-07-28  Simon Josefsson  <jas@extundo.com>
+
        * inet_ntop.h, inet_pton.h: No need to guard arpa/inet.h
        #include's.
 
index b581ab1..bd1e085 100644 (file)
@@ -17,9 +17,7 @@
 
 #include <sys/types.h>
 #include <sys/socket.h>
-#if HAVE_NETINET_IN_H
-# include <netinet/in.h>
-#endif
+#include <netinet/in.h>
 #include <arpa/inet.h>
 
 /* Converts an internet address from internal format to a printable,
index 86c801c..70f1c4b 100644 (file)
@@ -17,9 +17,7 @@
 
 #include <sys/types.h>
 #include <sys/socket.h>
-#if HAVE_NETINET_IN_H
-# include <netinet/in.h>
-#endif
+#include <netinet/in.h>
 #include <arpa/inet.h>
 
 #if !HAVE_DECL_INET_PTON
index 0e05e47..bef89bb 100644 (file)
@@ -11,6 +11,7 @@ restrict
 socklen
 sys_socket
 arpa_inet
+netinet_in
 
 configure.ac:
 gl_INET_NTOP
index a79eb67..c715f02 100644 (file)
@@ -11,6 +11,7 @@ restrict
 socklen
 sys_socket
 arpa_inet
+netinet_in
 
 configure.ac:
 gl_INET_PTON