diff options
Diffstat (limited to 'lang/siod/patches/patch-ad')
-rw-r--r-- | lang/siod/patches/patch-ad | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lang/siod/patches/patch-ad b/lang/siod/patches/patch-ad new file mode 100644 index 00000000000..79a20e178e7 --- /dev/null +++ b/lang/siod/patches/patch-ad @@ -0,0 +1,17 @@ +$NetBSD: patch-ad,v 1.1 2002/08/12 16:21:13 agc Exp $ + +--- ndbm.c 2002/08/12 16:08:46 1.1 ++++ ndbm.c 2002/08/12 16:10:13 +@@ -1,7 +1,12 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> ++#include <sys/param.h> ++#if (defined(BSD) && BSD >= 199306) ++#include <sdbm.h> ++#else + #include <ndbm.h> ++#endif + #include "siod.h" + #if defined(sun) || defined(hpux) || defined(linux) || defined(sgi) + #include <sys/types.h> |