]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Declare environ if needed.
authorBruno Haible <bruno@clisp.org>
Thu, 27 May 2004 14:46:08 +0000 (14:46 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:52 +0000 (12:11 +0200)
gettext-tools/lib/ChangeLog
gettext-tools/lib/execute.c
gettext-tools/lib/pipe.c

index 48604df7477e5bd804663f88e65bbcb29f00a5d1..329d3ac2d52fdf37297f8a5bf0256b8362a3ca6e 100644 (file)
@@ -1,3 +1,8 @@
+2004-05-27  Bruno Haible  <bruno@clisp.org>
+
+       * execute.c (environ): Declare if needed.
+       * pipe.c (environ): Likewise.
+
 2004-04-28  Bruno Haible  <bruno@clisp.org>
 
        * basename.c (FILESYSTEM_PREFIX_LEN, ISSLASH): Treat Cygwin like
index 86df308f2d20dc2504b21d327d154717a64b2313..b4a093d07933739e4512524a36041e93c3d84204 100644 (file)
@@ -1,5 +1,5 @@
 /* Creation of autonomous subprocesses.
-   Copyright (C) 2001-2003 Free Software Foundation, Inc.
+   Copyright (C) 2001-2004 Free Software Foundation, Inc.
    Written by Bruno Haible <haible@clisp.cons.org>, 2001.
 
    This program is free software; you can redistribute it and/or modify
 
 #endif
 
+#ifndef HAVE_ENVIRON_DECL
+extern char **environ;
+#endif
+
 #ifndef STDIN_FILENO
 # define STDIN_FILENO 0
 #endif
index 36d7ad02992009926cba064aa54df702da011cb6..7623e69a146cd6fec4916219e8857565c3ed5b06 100644 (file)
 
 #endif
 
+#ifndef HAVE_ENVIRON_DECL
+extern char **environ;
+#endif
+
 #ifndef STDIN_FILENO
 # define STDIN_FILENO 0
 #endif