--- glib/gutils.c.orig	2005-09-28 00:06:16.000000000 -0700
+++ glib/gutils.c	2005-09-28 00:06:48.000000000 -0700
@@ -48,6 +48,7 @@
 #endif
 #ifdef HAVE_CRT_EXTERNS_H 
 #include <crt_externs.h> /* for _NSGetEnviron */
+#define HAVE__NSGETENVIRON
 #endif
 
 /* implement gutils's inline functions
