summaryrefslogtreecommitdiff
path: root/ext/dbm/sdbm/pair.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dbm/sdbm/pair.c')
-rw-r--r--ext/dbm/sdbm/pair.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/ext/dbm/sdbm/pair.c b/ext/dbm/sdbm/pair.c
index a3941716d9..575b34c6c1 100644
--- a/ext/dbm/sdbm/pair.c
+++ b/ext/dbm/sdbm/pair.c
@@ -11,14 +11,11 @@
static char rcsid[] = "$Id: pair.c,v 1.10 90/12/13 13:00:35 oz Exp $";
#endif
+#include "config.h"
#include "sdbm.h"
#include "tune.h"
#include "pair.h"
-#ifndef BSD42
-#include <memory.h>
-#endif
-
#define exhash(item) sdbm_hash((item).dptr, (item).dsize)
/*
@@ -195,7 +192,7 @@ datum key;
}
}
#else
-#ifdef MEMMOVE
+#ifdef HAS_MEMMOVE
memmove(dst, src, m);
#else
while (m--)