diff lib/getcwd-lgpl.c @ 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 e542fd46ad6f
children
line wrap: on
line diff
--- 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