From: Bruno Haible Date: Fri, 6 Aug 2004 20:39:08 +0000 (+0000) Subject: 2004-08-01 Simon Josefsson X-Git-Tag: cvs-readonly~4047 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=854b857cb4c8433de464bb73c1b93721012abf2a;p=gnulib.git 2004-08-01 Simon Josefsson Include stdlib.h, for free(). --- diff --git a/lib/ChangeLog b/lib/ChangeLog index c7da52cb3..0fb519df8 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2004-08-01 Simon Josefsson + + * xgetdomainname.c: Include stdlib.h, for free(). + 2004-08-02 Simon Josefsson * getsubopt.h: New file, with comments from Bruno Haible. diff --git a/lib/xgetdomainname.c b/lib/xgetdomainname.c index 4c640326c..4199604eb 100644 --- a/lib/xgetdomainname.c +++ b/lib/xgetdomainname.c @@ -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 +/* Get free. */ +#include + #include "xalloc.h" #ifndef INITIAL_DOMAINNAME_LENGTH