]> git.saurik.com Git - apple/libc.git/blobdiff - gen/FreeBSD/getprogname.c
Libc-1439.100.3.tar.gz
[apple/libc.git] / gen / FreeBSD / getprogname.c
index 4be82e32152ad56037c695d00d0ef383d5ff8dbe..a736f65685900c809522219981bb29b1b988d909 100644 (file)
@@ -3,6 +3,8 @@ __FBSDID("$FreeBSD: src/lib/libc/gen/getprogname.c,v 1.4 2002/03/29 22:43:41 mar
 
 #include "namespace.h"
 #include <stdlib.h>
 
 #include "namespace.h"
 #include <stdlib.h>
+#include <crt_externs.h>
+#define        __progname      (*_NSGetProgname())
 #include "un-namespace.h"
 
 #include "libc_private.h"
 #include "un-namespace.h"
 
 #include "libc_private.h"