]> git.saurik.com Git - apple/libc.git/blame - gen/FreeBSD/popen.c.patch
Libc-320.1.3.tar.gz
[apple/libc.git] / gen / FreeBSD / popen.c.patch
CommitLineData
9385eb3d
A
1--- popen.c.orig Fri Jan 3 16:15:15 2003
2+++ popen.c Sat May 3 14:05:13 2003
3@@ -55,7 +55,8 @@
4 #include "un-namespace.h"
5 #include "libc_private.h"
6
7-extern char **environ;
8+#include <crt_externs.h>
9+#define environ (*_NSGetEnviron())
10
11 static struct pid {
12 struct pid *next;