Ticket #31203: patch-environ.diff

File patch-environ.diff, 742 bytes (added by ak.ml@…, 13 years ago)

xfce/libxfcegui4/files/patch-environ.diff

  • libxfcegui4/dialogs.c

    old new  
    6464
    6565#ifdef HAVE__NSGETENVIRON
    6666/* for support under apple/darwin */
     67extern char ***_NSGetEnviron(void);
    6768#define environ (*_NSGetEnviron())
    6869#elif !HAVE_DECL_ENVIRON
    6970/* try extern if environ is not defined in unistd.h */
  • libxfcegui4/xfce-exec.c

    old new  
    5959
    6060#ifdef HAVE__NSGETENVIRON
    6161/* for support under apple/darwin */
     62extern char ***_NSGetEnviron(void);
    6263#define environ (*_NSGetEnviron())
    6364#elif !HAVE_DECL_ENVIRON
    6465/* try extern if environ is not defined in unistd.h */