]> diplodocus.org Git - nmh/blobdiff - uip/slocal.c
Shoot. Apparently it gets the timestamp from the check-in time rather than
[nmh] / uip / slocal.c
index a306cadaefe6c96767b8310675be6f1380de291b..dce966387afdc7571c24c470846b0682b469ebb9 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