mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
18 lines
426 B
Plaintext
18 lines
426 B
Plaintext
$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>
|