From: Bruno Haible Date: Wed, 17 Dec 2008 00:56:49 +0000 (+0100) Subject: environ is supposed to be declared by . X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7006c85f7b688a390444f5c91e145b89f478c6ce;p=pspp environ is supposed to be declared by . --- diff --git a/ChangeLog b/ChangeLog index a7ed3e2067..2a401a1e05 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-12-16 Bruno Haible + + * lib/unistd.in.h: Add comment. + * tests/test-environ.c: Don't include . + 2008-12-16 Bruno Haible * lib/parse-duration.h (parse_duration): Document return value diff --git a/lib/unistd.in.h b/lib/unistd.in.h index fa8616a2a2..05778f90ad 100644 --- a/lib/unistd.in.h +++ b/lib/unistd.in.h @@ -35,6 +35,7 @@ #endif /* mingw fails to declare _exit in . */ +/* mingw, BeOS, Haiku declare environ in , not in . */ #include #if @GNULIB_WRITE@ && @REPLACE_WRITE@ && @GNULIB_UNISTD_H_SIGPIPE@ diff --git a/tests/test-environ.c b/tests/test-environ.c index 3924288e80..d9501bbdaf 100644 --- a/tests/test-environ.c +++ b/tests/test-environ.c @@ -20,7 +20,6 @@ #include -#include #include int