]> git.saurik.com Git - apple/libc.git/blob - gen/FreeBSD/exec.c.patch
Libc-320.1.3.tar.gz
[apple/libc.git] / gen / FreeBSD / exec.c.patch
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, ...)