Skip to content

Commit

Permalink
Merge pull request #12265 from smlng/fix_sys_pipe_freebsd
Browse files Browse the repository at this point in the history
sys/pipe: always include stdlib.h instead of malloc.h
  • Loading branch information
miri64 authored Sep 17, 2019
2 parents 5631b69 + 0f1eda1 commit baebcef
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sys/pipe/pipe_dynamic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit baebcef

Please sign in to comment.