changeset 17431:744044c581c4

getcwd-lgpl: port to Tru64 * lib/getcwd-lgpl.c: Include <stdlib.h>, for malloc etc. Problem reported by Steven M. Schweda in <http://lists.gnu.org/archive/html/bug-gzip/2013-06/msg00010.html>.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 11 Jun 2013 19:52:46 -0700
parents 739d4a81666c
children a31d597d15e9
files ChangeLog lib/getcwd-lgpl.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2013-06-11  Paul Eggert  <eggert@cs.ucla.edu>
 
+	getcwd-lgpl: port to Tru64
+	* lib/getcwd-lgpl.c: Include <stdlib.h>, for malloc etc.
+	Problem reported by Steven M. Schweda in
+	<http://lists.gnu.org/archive/html/bug-gzip/2013-06/msg00010.html>.
+
 	tests: port large-fd POSIX spawn tests to OS X
 	Problem reported by Daiki Ueno in
 	<http://lists.gnu.org/archive/html/bug-gnulib/2013-06/msg00031.html>.
--- a/lib/getcwd-lgpl.c
+++ b/lib/getcwd-lgpl.c
@@ -20,6 +20,7 @@
 #include <unistd.h>
 
 #include <errno.h>
+#include <stdlib.h>
 #include <string.h>
 
 #if GNULIB_GETCWD