Mercurial > hg > octave-lojdl > gnulib-hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
17430:739d4a81666c | 17431:744044c581c4 |
---|---|
18 | 18 |
19 /* Specification */ | 19 /* Specification */ |
20 #include <unistd.h> | 20 #include <unistd.h> |
21 | 21 |
22 #include <errno.h> | 22 #include <errno.h> |
23 #include <stdlib.h> | |
23 #include <string.h> | 24 #include <string.h> |
24 | 25 |
25 #if GNULIB_GETCWD | 26 #if GNULIB_GETCWD |
26 /* Favor GPL getcwd.c if both getcwd and getcwd-lgpl modules are in use. */ | 27 /* Favor GPL getcwd.c if both getcwd and getcwd-lgpl modules are in use. */ |
27 typedef int dummy; | 28 typedef int dummy; |