$NetBSD: patch-ad,v 1.2 2015/12/29 23:34:55 dholland Exp $ Use sdbm instead of ndbm on BSD. XXX: does not match the pkgsrc makefile. --- ndbm.c 2002/08/12 16:08:46 1.1 +++ ndbm.c 2002/08/12 16:10:13 @@ -1,7 +1,12 @@ #include #include #include +#include +#if (defined(BSD) && BSD >= 199306) +#include +#else #include +#endif #include "siod.h" #if defined(sun) || defined(hpux) || defined(linux) || defined(sgi) #include