getcwd-lgpl: port to Tru64
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 12 Jun 2013 02:52:46 +0000 (19:52 -0700)
committerIan Beckwith <ianb@erislabs.net>
Mon, 5 Aug 2013 02:08:48 +0000 (03:08 +0100)
* 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>.
(cherry picked from commit 2845ecc459a4ad03de8397a2c942c2e91d2d3ed5)

ChangeLog
lib/getcwd-lgpl.c

index aeb1bc5..06777de 100644 (file)
--- 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>.
index d550f35..cebe8f7 100644 (file)
@@ -20,6 +20,7 @@
 #include <unistd.h>
 
 #include <errno.h>
+#include <stdlib.h>
 #include <string.h>
 
 #if GNULIB_GETCWD