X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ae4c23b5c35a12a8a0a39eb6194c48f6ae4ca055..58d60c818b22f8d260e02c509f58b31c33f5f8af:/uip/slocal.c diff --git a/uip/slocal.c b/uip/slocal.c index a306cada..22ba3e8b 100644 --- a/uip/slocal.c +++ b/uip/slocal.c @@ -27,9 +27,25 @@ #include #include #include -#include #include +#ifdef INITGROUPS_HEADER +#include INITGROUPS_HEADER +#else +/* On AIX 4.1, initgroups() is defined and even documented (giving the parameter + types as char* and int), but doesn't have a prototype in any of the system + header files. AIX 4.3, SunOS 4.1.3, and ULTRIX 4.2A have the same + problem. */ +extern int initgroups(char*, int); +#endif + + +#ifdef HAVE_DB1_NDBM_H +#include +#else +#include +#endif + #include #ifndef UTMP_FILE @@ -70,7 +86,7 @@ static struct swit switches[] = { #define VERSIONSW 13 { "version", 0 }, #define HELPSW 14 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } };