[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] xgetdomainname.c: need stdlib.h for free
From: |
Simon Josefsson |
Subject: |
[Bug-gnulib] xgetdomainname.c: need stdlib.h for free |
Date: |
Sun, 01 Aug 2004 20:48:31 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
?
2004-08-01 Simon Josefsson <address@hidden>
* xgetdomainname.c: Include stdlib.h, for free.
Index: xgetdomainname.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/xgetdomainname.c,v
retrieving revision 1.2
diff -u -p -u -w -r1.2 xgetdomainname.c
--- xgetdomainname.c 25 Sep 2003 11:01:25 -0000 1.2
+++ xgetdomainname.c 1 Aug 2004 18:46:53 -0000
@@ -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
- [Bug-gnulib] xgetdomainname.c: need stdlib.h for free,
Simon Josefsson <=