X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgethostname.c;h=acff351d8717f4e0f59bdd41f1bab217e237832e;hb=e8e63d1b31bca6c82713cba490b21a861abb24b5;hp=de3d9a527f4be18ce2ac07f0f863c74b9c3d13f4;hpb=e9ad8e6293db75ca77d4910ff97a0222da259c0a;p=gnulib.git diff --git a/lib/gethostname.c b/lib/gethostname.c index de3d9a527..acff351d8 100644 --- a/lib/gethostname.c +++ b/lib/gethostname.c @@ -19,12 +19,15 @@ #include +/* Specification. */ +#include + #ifdef HAVE_UNAME # include -#else -# include #endif +#include + /* Put up to LEN chars of the host name into NAME. Null terminate it if the name is shorter than LEN. Return 0 if ok, -1 if error. */