X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/e3cf15b684ccf1496b6a682c8d46192674711eb2..9385eb3d10ebe5eb398c52040ec3dbfba9b0cdcf:/stdlib/FreeBSD/getenv.c.patch diff --git a/stdlib/FreeBSD/getenv.c.patch b/stdlib/FreeBSD/getenv.c.patch new file mode 100644 index 0000000..12472a3 --- /dev/null +++ b/stdlib/FreeBSD/getenv.c.patch @@ -0,0 +1,19 @@ +--- getenv.c.orig Mon Apr 28 16:37:26 2003 ++++ getenv.c Sat May 3 14:29:07 2003 +@@ -40,6 +40,7 @@ + #include + #include + #include ++#include + + inline char *__findenv(const char *, int *); + +@@ -57,7 +58,7 @@ + const char *name; + int *offset; + { +- extern char **environ; ++ char **environ = *_NSGetEnviron(); + int len, i; + const char *np; + char **p, *cp;