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