X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fcanon-host.c;h=b0c2f44bb1a3e92cf4196514efa49011d2730eec;hb=d33e27b00b65fc12a046ca1f1bdb17bc5c1d1585;hp=74c36f6f75b7bf11b07ac74c38ea4dc5bfc8efdd;hpb=011f3dd819e08a897c9625a06b981498932e9926;p=gnulib.git diff --git a/lib/canon-host.c b/lib/canon-host.c index 74c36f6f7..b0c2f44bb 100644 --- a/lib/canon-host.c +++ b/lib/canon-host.c @@ -1,6 +1,6 @@ /* Host name canonicalization - Copyright (C) 1995, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1995, 1999, 2000, 2002, 2003 Free Software Foundation, Inc. Written by Miles Bader @@ -26,12 +26,8 @@ #ifdef HAVE_UNISTD_H # include #endif -#ifdef HAVE_STDLIB_H -# include -#endif -#ifdef HAVE_STRING_H -# include -#endif +#include +#include #ifdef HAVE_NETDB_H # include #endif @@ -46,10 +42,6 @@ # include #endif -#ifndef strdup -char *strdup (); -#endif - /* Returns the canonical hostname associated with HOST (allocated in a static buffer), or 0 if it can't be determined. */ char *