diff options
-rw-r--r-- | src/su.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -75,8 +75,16 @@ #include <sys/types.h> #include <pwd.h> #include <grp.h> + +/* Hide any system prototype for getusershell. + This is necessary because some Cray systems have a conflicting + prototype (returning `int') in <unistd.h>. */ +#define getusershell _getusershell_sys_proto_ + #include "system.h" +#undef getusershell + #if HAVE_SYSLOG_H && HAVE_SYSLOG # include <syslog.h> #else |