$NetBSD: patch-ai,v 1.2 2004/09/21 16:54:57 jmmv Exp $ --- libnautilus-private/nautilus-program-choosing.c.orig 2004-07-24 16:47:37.000000000 +0200 +++ libnautilus-private/nautilus-program-choosing.c @@ -62,6 +62,11 @@ #include #endif +#if defined(__APPLE__) +#include +#define environ (*_NSGetEnviron()) +#endif + extern char **environ; /* Cut and paste from gdkspawn-x11.c */