fix native stdlib.h include

Fixes segfault in OSX introduced by 45ffdea
This commit is contained in:
Ludwig Ortmann 2013-12-02 11:39:11 +01:00
parent 8d9d43fa8c
commit 2d7c328870

View File

@ -16,7 +16,7 @@
* @author Ludwig Ortmann <ludwig.ortmann@fu-berlin.de> * @author Ludwig Ortmann <ludwig.ortmann@fu-berlin.de>
*/ */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#ifdef __MACH__ #ifdef __MACH__
#define _XOPEN_SOURCE #define _XOPEN_SOURCE
#endif #endif
@ -37,6 +37,8 @@
#define VALGRIND_DEBUG(...) #define VALGRIND_DEBUG(...)
#endif #endif
#include <stdlib.h>
#include "kernel_internal.h" #include "kernel_internal.h"
#include "sched.h" #include "sched.h"