$NetBSD: patch-af,v 1.3 2004/04/24 20:35:15 danw Exp $ --- libgnome/gnome-util.c.orig Mon Apr 12 19:17:51 2004 +++ libgnome/gnome-util.c @@ -137,6 +137,11 @@ g_extension_pointer (const char * path) } } +#if defined(__APPLE__) +#include +#define environ (*_NSGetEnviron()) +#endif + /** * gnome_setenv: * @name: An environment variable name.