diff options
author | Jim Meyering <jim@meyering.net> | 2003-09-10 08:29:47 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-09-10 08:29:47 +0000 |
commit | 0364e734114254e0ae9cd94a35a0bf68423bc379 (patch) | |
tree | 0b2a82db72251db77354f1d7ec439f02c2e3c9f7 /lib/canon-host.c | |
parent | a57cb0b077a90916ca251c098fc89cd20f33c232 (diff) | |
download | coreutils-0364e734114254e0ae9cd94a35a0bf68423bc379.tar.xz |
Include <stdlib.h>, <string.h> unconditionally.
Diffstat (limited to 'lib/canon-host.c')
-rw-r--r-- | lib/canon-host.c | 10 |
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 |