summaryrefslogtreecommitdiff
blob: 473e2b609aeb01fed2b8a32384cef12390b12979 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/uip/slocal.c b/uip/slocal.c
index 9697d84..d38a020 100644
--- a/uip/slocal.c
+++ b/uip/slocal.c
@@ -46,6 +46,12 @@
 extern int  initgroups(char*, int);
 #endif
 
+/* This define is needed for Berkeley db v5 and above to
+ * make the header file expose the 'historical' ndbm APIs.
+ * We define it unconditionally because this is simple and
+ * harmless.
+ */
+#define HAVE_DBM
 /* This define is needed for Berkeley db v2 and above to
  * make the header file expose the 'historical' ndbm APIs.
  * We define it unconditionally because this is simple and