pkgsrc/devel/libgnomeui/patches/patch-aa
2004-04-24 22:03:55 +00:00

16 lines
327 B
Text

$NetBSD: patch-aa,v 1.3 2004/04/24 22:03:55 danw Exp $
--- libgnomeui/gnome-multiscreen.c.orig Sat Apr 24 16:38:48 2004
+++ libgnomeui/gnome-multiscreen.c
@@ -26,6 +26,11 @@
#include <string.h>
+#if defined(__APPLE__)
+#include <crt_externs.h>
+#define environ (*_NSGetEnviron())
+#endif
+
extern char **environ;
/**