]> git.saurik.com Git - apple/libc.git/blob - gen/FreeBSD/getprogname.c.patch
54f990657e823a3127d87115115033b51583cddd
[apple/libc.git] / gen / FreeBSD / getprogname.c.patch
1 --- getprogname.c.orig Mon Apr 28 15:05:02 2003
2 +++ getprogname.c Sat May 3 14:04:57 2003
3 @@ -3,6 +3,8 @@
4
5 #include "namespace.h"
6 #include <stdlib.h>
7 +#include <crt_externs.h>
8 +#define __progname (*_NSGetProgname())
9 #include "un-namespace.h"
10
11 #include "libc_private.h"