The friendly Operating System for the Internet of Things
stdlib.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Eistec AB
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser General
5  * Public License v2.1. See the file LICENSE in the top level directory for more
6  * details.
7  */
8 
20 #ifndef RIOT_MSP430_STDLIB_H
21 #define RIOT_MSP430_STDLIB_H
22 
23 /*
24  * The MSP430 toolchain does not provide malloc, free, calloc etc. in stdlib.h.
25  * As a workaround, we include the system stdlib.h here and then add malloc.
26  */
27 
28 #include_next <stdlib.h>
29 
30 #include <malloc.h>
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
36 #ifdef __cplusplus
37 }
38 #endif
39 
40 #endif /* RIOT_MSP430_STDLIB_H */