* getopt_.h: Use __CONCAT rather than ## directly.
[gnulib.git] / lib / xgetdomainname.c
index aaf50a9..4199604 100644 (file)
@@ -1,5 +1,6 @@
 /* xgetdomainname.c -- Return the NIS domain name, without size limitations.
-   Copyright (C) 1992, 1996, 2000, 2001, 2003 Free Software Foundation, Inc.
+   Copyright (C) 1992, 1996, 2000, 2001, 2003, 2004 Free Software Foundation,
+   Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -30,6 +31,9 @@
 /* Get errno.  */
 #include <errno.h>
 
+/* Get free.  */
+#include <stdlib.h>
+
 #include "xalloc.h"
 
 #ifndef INITIAL_DOMAINNAME_LENGTH
@@ -39,7 +43,8 @@
 /* Return the NIS domain name of the machine, in malloc'd storage.
    WARNING! The NIS domain name is unrelated to the fully qualified host name
             of the machine.  It is also unrelated to email addresses.
-   WARNING! The NIS domain name is usually the empty string when not using NIS.
+   WARNING! The NIS domain name is usually the empty string or "(none)" when
+            not using NIS.
    If malloc fails, exit.
    Upon any other failure, set errno and return NULL.  */
 char *