From: Paul Eggert <eggert@cs.ucla.edu> Date: Wed, 12 Jun 2013 02:52:46 +0000 (-0700) Subject: getcwd-lgpl: port to Tru64 X-Git-Tag: v0.1~109 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=2845ecc459a4ad03de8397a2c942c2e91d2d3ed5;p=gnulib.git 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>. --- diff --git a/ChangeLog b/ChangeLog index aeb1bc53e2..06777dec3e 100644 --- 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>. diff --git a/lib/getcwd-lgpl.c b/lib/getcwd-lgpl.c index d550f35c4e..cebe8f7b3d 100644 --- 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