2006-06-26 Simon Josefsson <jas@extundo.com>
authorSimon Josefsson <simon@josefsson.org>
Mon, 26 Jun 2006 08:54:42 +0000 (08:54 +0000)
committerSimon Josefsson <simon@josefsson.org>
Mon, 26 Jun 2006 08:54:42 +0000 (08:54 +0000)
* inet_ntop.m4: Don't check for sys/types.h, we assume it is
present.

m4/ChangeLog
m4/inet_ntop.m4

index f9fedd2..fdcd998 100644 (file)
@@ -1,3 +1,8 @@
+2006-06-26  Simon Josefsson  <jas@extundo.com>
+
+       * inet_ntop.m4: Don't check for sys/types.h, we assume it is
+       present.
+
 2006-06-23  Bruno Haible  <bruno@clisp.org>
 
        * stdint.m4 (gl_STDINT_H): Treat IRIX like OpenBSD.
index 7ffbbda..bb8fabf 100644 (file)
@@ -1,5 +1,5 @@
-# inet_ntop.m4 serial 1
-dnl Copyright (C) 2005 Free Software Foundation, Inc.
+# inet_ntop.m4 serial 2
+dnl Copyright (C) 2005, 2006 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -12,7 +12,7 @@ AC_DEFUN([gl_INET_NTOP],
 
 # Prerequisites of lib/inet_ntop.h and lib/inet_ntop.c.
 AC_DEFUN([gl_PREREQ_INET_NTOP], [
-  AC_CHECK_HEADERS_ONCE(sys/types.h arpa/inet.h)
+  AC_CHECK_HEADERS_ONCE(arpa/inet.h)
   AC_CHECK_DECLS([inet_ntop],,,[#include <arpa/inet.h>])
   AC_REQUIRE([gl_SOCKET_FAMILIES])
 ])