# HG changeset patch # User Bruno Haible # Date 1229475409 -3600 # Node ID da1e292eb1e0752a680791b439eb1b38018fdbb1 # Parent 195c41817bd2e012fcadd8f85c3670eda8bad9ca environ is supposed to be declared by . diff --git a/ChangeLog b/ChangeLog --- 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 --- 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 --- a/tests/test-environ.c +++ b/tests/test-environ.c @@ -20,7 +20,6 @@ #include -#include #include int