diff options
author | jbj <devnull@localhost> | 2005-01-04 19:31:31 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2005-01-04 19:31:31 +0000 |
commit | 84ec406c35efeb8fb566ceab2fb1a4796cf7b447 (patch) | |
tree | c4e2c7a7c3c5d0ad6fc2dcd64921bb3d6a2483e5 /misc | |
parent | 6da6f7fc0a87818021bb07705450a29f46d7f14b (diff) | |
download | librpm-tizen-84ec406c35efeb8fb566ceab2fb1a4796cf7b447.tar.gz librpm-tizen-84ec406c35efeb8fb566ceab2fb1a4796cf7b447.tar.bz2 librpm-tizen-84ec406c35efeb8fb566ceab2fb1a4796cf7b447.zip |
- mac os x patches (#133611, #133612, #134637).
CVS patchset: 7673
CVS date: 2005/01/04 19:31:31
Diffstat (limited to 'misc')
-rw-r--r-- | misc/putenv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/putenv.c b/misc/putenv.c index ee3ccc04a..c13e03c3f 100644 --- a/misc/putenv.c +++ b/misc/putenv.c @@ -49,6 +49,9 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #if HAVE_GNU_LD # define environ __environ +#elif defined (__APPLE__) +# include <crt_externs.h> +# define environ (*_NSGetEnviron()) #else extern char **environ; #endif |