From 3f14f899b2279e2734920eafac7aa4e2a8303eaf Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 18 Oct 2015 00:24:05 +0200 Subject: malloc.h should be included via stdlib.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- include/malloc.h | 4 ++++ 1 file changed, 4 insertions(+) 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 #include +#ifndef _STDLIB_H +# warning "Do not directly include , include instead." +#endif + #define __NEED_size_t -- cgit v1.2.3-70-g09d2