environ is supposed to be declared by <unistd.h>.
[pspp] / lib / unistd.in.h
index fa8616a2a22bb91b67b3d9db554266c6ba22547a..05778f90ad153355d53e9969b328d8ff61b77e3e 100644 (file)
@@ -35,6 +35,7 @@
 #endif
 
 /* mingw fails to declare _exit in <unistd.h>.  */
+/* mingw, BeOS, Haiku declare environ in <stdlib.h>, not in <unistd.h>.  */
 #include <stdlib.h>
 
 #if @GNULIB_WRITE@ && @REPLACE_WRITE@ && @GNULIB_UNISTD_H_SIGPIPE@