Mercurial > hg > octave-lyh > gnulib-hg
changeset 5139:dc1fbdf89b31
2004-08-01 Simon Josefsson <jas@extundo.com>
Include stdlib.h, for free().
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 06 Aug 2004 20:39:08 +0000 |
parents | 965e5e2eaeac |
children | 7d4e8a1a9f17 |
files | lib/ChangeLog lib/xgetdomainname.c |
diffstat | 2 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -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.
--- 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 <errno.h> +/* Get free. */ +#include <stdlib.h> + #include "xalloc.h" #ifndef INITIAL_DOMAINNAME_LENGTH