X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fslocal.c;h=36a25f051c2f4addacc19074496539dabad5d7a0;hb=e37dc08079906b1b2737c3dad31fa507bdc66ecb;hp=13d05116c2668e808204e2df8f80b2b3d1e28f5c;hpb=c33891a4d5265bdbbbadae72ab6d8d92589636ca;p=mmh diff --git a/uip/slocal.c b/uip/slocal.c index 13d0511..36a25f0 100644 --- a/uip/slocal.c +++ b/uip/slocal.c @@ -34,12 +34,18 @@ #include #include +/* Hopefully, grp.h declares initgroups(). If we run into a platform + where it doesn't, we could consider declaring it here as well. */ +#include + /* 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 * harmless. */ #define DB_DBM_HSEARCH 1 +#ifdef DB_DBM_HSEARCH +#endif /* Use DB_DBM_HSEARCH to prevent warning from gcc -Wunused-macros. */ #ifdef NDBM_HEADER #include NDBM_HEADER #endif