Put in a prototype for client() to get rid of the "default prototype" warning.
[mmh] / uip / slocal.c
index a306cad..dce9663 100644 (file)
 #include <pwd.h>
 #include <signal.h>
 #include <sys/ioctl.h>
-#include <ndbm.h>
 #include <fcntl.h>
+#include <grp.h>
+
+#ifdef HAVE_DB1_NDBM_H
+#include <db1/ndbm.h>
+#else
+#include <ndbm.h>
+#endif
 
 #include <utmp.h>
 
+extern int  initgroups(char*, int);  /* def'd in libc.a but no .h on AIX 4.1 */
+
 #ifndef UTMP_FILE
 # ifdef _PATH_UTMP
 #  define UTMP_FILE _PATH_UTMP