summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-11-07 23:14:31 +0000
committerobrien <obrien@FreeBSD.org>2001-11-07 23:14:31 +0000
commit7994503f087e7900a1976a511fd3ea8125f07f42 (patch)
treef0a21f14594d774f9d1fa3e869841f094ef358d9 /include
parent2b2a00534a58200d9dedc9b406391ce23a49a37d (diff)
downloadFreeBSD-src-7994503f087e7900a1976a511fd3ea8125f07f42.zip
FreeBSD-src-7994503f087e7900a1976a511fd3ea8125f07f42.tar.gz
Traditionally work in the -traditional case.
Submitted by: joerg
Diffstat (limited to 'include')
-rw-r--r--include/malloc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/malloc.h b/include/malloc.h
index 2c63b65..5d7d7e8 100644
--- a/include/malloc.h
+++ b/include/malloc.h
@@ -1,2 +1,6 @@
/* $FreeBSD$ */
+#if __STDC__
#error "<malloc.h> has been replaced by <stdlib.h>"
+#else
+#include <stdlib.h>
+#endif
OpenPOWER on IntegriCloud