summaryrefslogtreecommitdiff
path: root/lib/xgetdomainname.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2004-08-06 20:39:08 +0000
committerBruno Haible <bruno@clisp.org>2004-08-06 20:39:08 +0000
commit854b857cb4c8433de464bb73c1b93721012abf2a (patch)
tree94f754b4d2fcb7746f0bb822e5cc6c0deb24beea /lib/xgetdomainname.c
parent0d2a1de66874d543cd0d9bec1a799da3faf33813 (diff)
downloadgnulib-854b857cb4c8433de464bb73c1b93721012abf2a.tar.gz
2004-08-01 Simon Josefsson <jas@extundo.com>
Include stdlib.h, for free().
Diffstat (limited to 'lib/xgetdomainname.c')
-rw-r--r--lib/xgetdomainname.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/xgetdomainname.c b/lib/xgetdomainname.c
index 4c640326c0..4199604ebc 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 <errno.h>
+/* Get free. */
+#include <stdlib.h>
+
#include "xalloc.h"
#ifndef INITIAL_DOMAINNAME_LENGTH