From: Bruno Haible Date: Wed, 17 Dec 2008 00:56:49 +0000 (+0100) Subject: environ is supposed to be declared by . X-Git-Tag: v0.1~6594 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=7006c85f7b688a390444f5c91e145b89f478c6ce;p=gnulib.git environ is supposed to be declared by . --- diff --git a/ChangeLog b/ChangeLog index a7ed3e206..2a401a1e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 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 convention. * lib/parse-duration.c: Include specification header first. Add diff --git a/lib/unistd.in.h b/lib/unistd.in.h index fa8616a2a..05778f90a 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 3924288e8..d9501bbda 100644 --- a/tests/test-environ.c +++ b/tests/test-environ.c @@ -20,7 +20,6 @@ #include -#include #include int