Ticket #22517: patch-Misc-setuid-prog.c.diff

File patch-Misc-setuid-prog.c.diff, 410 bytes (added by eborisch@…, 15 years ago)
  • Misc/setuid-prog.c

    old new  
    7070#define environ _environ
    7171#endif
    7272
     73#if defined(__APPLE__)
     74#include <sys/time.h>
     75#include <crt_externs.h>
     76#define environ (*_NSGetEnviron())
     77#endif
     78
    7379/* don't change def_IFS */
    7480char def_IFS[] = "IFS= \t\n";
    7581/* you may want to change def_PATH, but you should really change it in */