allow gdbm/ndbm.h in addition to db1/ndbm.h; needs corresponding change in
authorGlenn Burkhardt <glenn@aoi.ultranet.com>
Sun, 22 Jun 2003 23:59:16 +0000 (23:59 +0000)
committerGlenn Burkhardt <glenn@aoi.ultranet.com>
Sun, 22 Jun 2003 23:59:16 +0000 (23:59 +0000)
configure.in

uip/slocal.c

index 74f1b57..b176008 100644 (file)
@@ -52,8 +52,12 @@ extern int  initgroups(char*, int);
 #ifdef HAVE_DB1_NDBM_H
 #include <db1/ndbm.h>
 #else
+#ifdef HAVE_GDBM_NDBM_H
+#include <gdbm/ndbm.h>
+#else
 #include <ndbm.h>
 #endif
+#endif
 
 #include <utmp.h>