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.
This commit is contained in:
smlng 2019-09-17 20:43:33 +02:00
parent 5631b698db
commit 0f1eda14d5

View File

@ -25,11 +25,7 @@
* @}
*/
#if defined(MCU_ATMEGA2560) || defined(MCU_ATMEGA1281) || defined(MCU_ATMEGA328P)
#include <stdlib.h>
#else
#include <malloc.h>
#endif
#include "pipe.h"