/* Host name canonicalization
- Copyright (C) 1995, 1999, 2000, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
-#ifdef HAVE_STDLIB_H
-# include <stdlib.h>
-#endif
-#ifdef HAVE_STRING_H
-# include <string.h>
-#endif
+#include <stdlib.h>
+#include <string.h>
#ifdef HAVE_NETDB_H
# include <netdb.h>
#endif
-# canon-host.m4 serial 2
+# canon-host.m4 serial 3
dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
AC_DEFUN([gl_CANON_HOST],
[
dnl Prerequisites of lib/canon-host.c.
- AC_CHECK_HEADERS_ONCE(stdlib.h string.h unistd.h)
+ AC_CHECK_HEADERS_ONCE(unistd.h)
AC_CHECK_HEADERS(netdb.h sys/socket.h netinet/in.h arpa/inet.h)
dnl Add any libraries as early as possible.