summaryrefslogtreecommitdiff
path: root/lang/siod/patches/patch-ad
blob: 79a20e178e7e1dcb191d0beafc462135cdb10856 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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>