aboutsummaryrefslogtreecommitdiff
path: root/lib/config.dj
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-07-11 21:34:23 +0000
committerYang Tse <yangsita@gmail.com>2006-07-11 21:34:23 +0000
commitfe22872d14c3b6b63ac27a9017ed9695ac3b932b (patch)
tree13371b16e69390845b8227c183cfae2ba5b29f56 /lib/config.dj
parent4d95d23d99a35a098cdc17f91b36d41dab98a30c (diff)
include <malloc.h> only if HAVE_MALLOC_H and NEED_MALLOC_H are both defined.
Diffstat (limited to 'lib/config.dj')
-rw-r--r--lib/config.dj2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/config.dj b/lib/config.dj
index 1ac700d86..2d1295feb 100644
--- a/lib/config.dj
+++ b/lib/config.dj
@@ -70,6 +70,8 @@
#define HAVE_UNISTD_H 1
#define HAVE_VPRINTF 1
+#define NEED_MALLOC_H 1
+
#if (DJGPP_MINOR >= 4)
#define HAVE_STRLCAT 1
#endif