changeset 6864:71747b1fdcda

2006-06-26 Simon Josefsson <jas@extundo.com> * inet_ntop.m4: Don't check for sys/types.h, we assume it is present.
author Simon Josefsson <simon@josefsson.org>
date Mon, 26 Jun 2006 08:54:42 +0000
parents 45234a95d079
children 159a5bb87489
files m4/ChangeLog m4/inet_ntop.m4
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -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.
--- a/m4/inet_ntop.m4
+++ b/m4/inet_ntop.m4
@@ -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 @@
 
 # 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])
 ])