cleanup: move stdlib.h include to mem.c, where it belongs

This commit is contained in:
goldsimon 2016-08-08 09:11:24 +02:00
parent e4c01a064e
commit 219438fb24
2 changed files with 2 additions and 2 deletions

View File

@ -54,13 +54,14 @@
*/
#include "lwip/opt.h"
#include "lwip/def.h"
#include "lwip/mem.h"
#include "lwip/def.h"
#include "lwip/sys.h"
#include "lwip/stats.h"
#include "lwip/err.h"
#include <string.h>
#include <stdlib.h>
#if MEM_LIBC_MALLOC || MEM_USE_POOLS
/** mem_init is not used when using pools instead of a heap or using

View File

@ -45,7 +45,6 @@ extern "C" {
#if MEM_LIBC_MALLOC
#include <stdlib.h>
#include <stddef.h> /* for size_t */
typedef size_t mem_size_t;
#define MEM_SIZE_F SZT_F