Fix for platforms that don't have memory.h.
authorbriano%netscape.com
Sat, 05 Jun 1999 00:34:35 +0000
changeset 136 bc3bd939fc60774bcae2b084bed6811db2d6bb99
parent 135 b8a9c209ec99c78cdb5b46f3064f003ac9f1a647
child 137 59e23ad1545085e832517235fe1deff14a060dbf
push idunknown
push userunknown
push dateunknown
Fix for platforms that don't have memory.h.
dbm/tests/lots.c
--- a/dbm/tests/lots.c
+++ b/dbm/tests/lots.c
@@ -41,18 +41,19 @@
 
 #include <stdlib.h>
 #ifdef STDC_HEADERS
 #include <stdarg.h>
 #else
 #include <varargs.h>
 #endif
 
-
+#ifdef HAVE_MEMORY_H
 #include <memory.h>
+#endif
 #include <string.h>
 #include <assert.h>
 #include "mcom_db.h"
 
 DB *database=0;
 int MsgPriority=5;
 
 #if defined(_WINDOWS) && !defined(WIN32)