]> git.saurik.com Git - apple/libc.git/blame - gen/FreeBSD/exec.c.patch
Libc-339.tar.gz
[apple/libc.git] / gen / FreeBSD / exec.c.patch
CommitLineData
9385eb3d
A
1--- exec.c.orig Fri Jan 3 15:16:55 2003
2+++ exec.c Sat May 3 14:03:35 2003
3@@ -51,7 +51,8 @@
4 #include <stdarg.h>
5 #include "un-namespace.h"
6
7-extern char **environ;
8+#include <crt_externs.h>
9+#define environ (*_NSGetEnviron())
10
11 int
12 execl(const char *name, const char *arg, ...)