summaryrefslogtreecommitdiff
path: root/lib/canon-host.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-09-10 08:29:47 +0000
committerJim Meyering <jim@meyering.net>2003-09-10 08:29:47 +0000
commit0364e734114254e0ae9cd94a35a0bf68423bc379 (patch)
tree0b2a82db72251db77354f1d7ec439f02c2e3c9f7 /lib/canon-host.c
parenta57cb0b077a90916ca251c098fc89cd20f33c232 (diff)
downloadcoreutils-0364e734114254e0ae9cd94a35a0bf68423bc379.tar.xz
Include <stdlib.h>, <string.h> unconditionally.
Diffstat (limited to 'lib/canon-host.c')
-rw-r--r--lib/canon-host.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/canon-host.c b/lib/canon-host.c
index d2d0746c7..b0c2f44bb 100644
--- a/lib/canon-host.c
+++ b/lib/canon-host.c
@@ -1,6 +1,6 @@
/* 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>
@@ -26,12 +26,8 @@
#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