summaryrefslogtreecommitdiff
path: root/ext/dbm/sdbm/dbm.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dbm/sdbm/dbm.h')
-rw-r--r--ext/dbm/sdbm/dbm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/dbm/sdbm/dbm.h b/ext/dbm/sdbm/dbm.h
index dce48fed07..1196953d96 100644
--- a/ext/dbm/sdbm/dbm.h
+++ b/ext/dbm/sdbm/dbm.h
@@ -26,7 +26,9 @@
#define NULL ((char *) 0)
#endif
-#include <ndbm.h>
+#ifdef I_NDBM
+# include <ndbm.h>
+#endif
datum fetch();
datum firstkey();