aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/malloc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/malloc.h b/include/malloc.h
index 046cfc3..c2a340b 100644
--- a/include/malloc.h
+++ b/include/malloc.h
@@ -20,6 +20,10 @@
#include <slibc/version.h>
#include <slibc/features.h>
+#ifndef _STDLIB_H
+# warning "Do not directly include <malloc.h>, include <stdlib.h> instead."
+#endif
+
#define __NEED_size_t