Ticket #31203: patch-environ.diff
File patch-environ.diff, 742 bytes (added by ak.ml@…, 13 years ago) |
---|
-
libxfcegui4/dialogs.c
old new 64 64 65 65 #ifdef HAVE__NSGETENVIRON 66 66 /* for support under apple/darwin */ 67 extern char ***_NSGetEnviron(void); 67 68 #define environ (*_NSGetEnviron()) 68 69 #elif !HAVE_DECL_ENVIRON 69 70 /* try extern if environ is not defined in unistd.h */ -
libxfcegui4/xfce-exec.c
old new 59 59 60 60 #ifdef HAVE__NSGETENVIRON 61 61 /* for support under apple/darwin */ 62 extern char ***_NSGetEnviron(void); 62 63 #define environ (*_NSGetEnviron()) 63 64 #elif !HAVE_DECL_ENVIRON 64 65 /* try extern if environ is not defined in unistd.h */