From 6dcf3c71288c2cf3abc41334d54be5c21bb2746f Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Wed, 18 Jun 2014 18:52:25 +0200 Subject: [PATCH] added header include for size_t --- mem.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mem.h b/mem.h index e84b36ca..cbecf73c 100644 --- a/mem.h +++ b/mem.h @@ -9,6 +9,10 @@ #ifndef _COAP_MEM_H_ #define _COAP_MEM_H_ +#ifdef HAVE_STDLIB_H +#include +#endif + /** * Initializes libcoap's memory management. This function must be * called once before coap_malloc() can be used on constrained