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 372e145a709be83e2f53e7d1a9a6b57be63199ab..5b3e2428263f7e1476d51c79a019dc456b0194b5 100644 (file)
@@ -1,3 +1,8 @@
+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
index b581ab1438e2dafe04b5ff74e1cb842623352f9d..bd1e085aed9418ee354ae9c8d649b3ead3d0044c 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 86c801c5c1a63d742a1cb6739f5dc4adfeb1b854..70f1c4b05623400161a896dca2c55dde3ba942cf 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 0e05e47a8bd1d385a48fb7e946a66865939d5654..bef89bba3fc6d067cc2f78715ca2866e208fb286 100644 (file)
@@ -11,6 +11,7 @@ restrict
 socklen
 sys_socket
 arpa_inet
+netinet_in
 
 configure.ac:
 gl_INET_NTOP
index a79eb677e672ed64964c914da0ccabd1366a8c47..c715f02659dc3738b091ad384c0178d27bb9a71f 100644 (file)
@@ -11,6 +11,7 @@ restrict
 socklen
 sys_socket
 arpa_inet
+netinet_in
 
 configure.ac:
 gl_INET_PTON