2004-08-01 Simon Josefsson <jas@extundo.com>
authorBruno Haible <bruno@clisp.org>
Fri, 6 Aug 2004 20:39:08 +0000 (20:39 +0000)
committerBruno Haible <bruno@clisp.org>
Fri, 6 Aug 2004 20:39:08 +0000 (20:39 +0000)
Include stdlib.h, for free().

lib/ChangeLog
lib/xgetdomainname.c

index c7da52c..0fb519d 100644 (file)
@@ -1,3 +1,7 @@
+2004-08-01  Simon Josefsson  <jas@extundo.com>
+
+       * xgetdomainname.c: Include stdlib.h, for free().
+
 2004-08-02  Simon Josefsson  <jas@extundo.com>
 
        * getsubopt.h: New file, with comments from Bruno Haible.
index 4c64032..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