X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fslocal.c;h=e12b940e26e1c7c677625e4abbbe2103664623c2;hp=c6aa286c54fc5187d67ea3c0d73a31ce59fd7bcd;hb=b1450ec537bd31be606633aa363201cc2ed95b9a;hpb=58653b7e9a9f44dc35a4d0f0a8584f425f14fb0c diff --git a/uip/slocal.c b/uip/slocal.c index c6aa286..e12b940 100644 --- a/uip/slocal.c +++ b/uip/slocal.c @@ -29,6 +29,16 @@ #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 and SunOS 4.1.3 have the same problem. */ +extern int initgroups(char*, int); +#endif + + #ifdef HAVE_DB1_NDBM_H #include #else @@ -75,7 +85,7 @@ static struct swit switches[] = { #define VERSIONSW 13 { "version", 0 }, #define HELPSW 14 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } };