From 0f1eda14d58d453738440392e79279701fe83351 Mon Sep 17 00:00:00 2001 From: smlng Date: Tue, 17 Sep 2019 20:43:33 +0200 Subject: [PATCH] sys/pipe: always include stdlib.h instead of malloc.h The malloc.h file is deprecated on most systems and should not be used, instead include stdlib.h which handles needed function in a portable manner. --- sys/pipe/pipe_dynamic.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/pipe/pipe_dynamic.c b/sys/pipe/pipe_dynamic.c index b6ecd2982d..6de2333dd0 100644 --- a/sys/pipe/pipe_dynamic.c +++ b/sys/pipe/pipe_dynamic.c @@ -25,11 +25,7 @@ * @} */ -#if defined(MCU_ATMEGA2560) || defined(MCU_ATMEGA1281) || defined(MCU_ATMEGA328P) #include -#else -#include -#endif #include "pipe.h"