]> git.saurik.com Git - apple/libc.git/blame - gen/FreeBSD/getprogname.c.patch
Libc-320.tar.gz
[apple/libc.git] / gen / FreeBSD / getprogname.c.patch
CommitLineData
9385eb3d
A
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"