+--- getprogname.c.orig Mon Apr 28 15:05:02 2003
++++ getprogname.c Sat May 3 14:04:57 2003
+@@ -3,6 +3,8 @@
+
+ #include "namespace.h"
+ #include <stdlib.h>
++#include <crt_externs.h>
++#define __progname (*_NSGetProgname())
+ #include "un-namespace.h"
+
+ #include "libc_private.h"