summaryrefslogtreecommitdiff
path: root/bcc/const.h
diff options
context:
space:
mode:
Diffstat (limited to 'bcc/const.h')
-rw-r--r--bcc/const.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/bcc/const.h b/bcc/const.h
index 20608c2..f8fd692 100644
--- a/bcc/const.h
+++ b/bcc/const.h
@@ -2,6 +2,12 @@
/* Copyright (C) 1992 Bruce Evans */
+#ifdef __STDC__
+#include <stdlib.h>
+#else
+#include <malloc.h>
+#endif
+
/* switches for code generation */
#if !defined(I8088) && !defined(MC6809)