From 76b025d70e64c6b96389622df6f18c48620b8085 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 29 Mar 2018 15:49:39 +0200 Subject: [PATCH] malloc.h not available on OSX --- runahead/dirty_input.c | 2 ++ runahead/mem_util.c | 2 ++ runahead/mem_util.h | 1 - runahead/secondary_core.c | 1 - 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/runahead/dirty_input.c b/runahead/dirty_input.c index 0c5b1b2ac4..f58c9c412a 100644 --- a/runahead/dirty_input.c +++ b/runahead/dirty_input.c @@ -1,3 +1,5 @@ +#include + #include #include "../core.h" diff --git a/runahead/mem_util.c b/runahead/mem_util.c index 7f7876f169..6d807236e7 100644 --- a/runahead/mem_util.c +++ b/runahead/mem_util.c @@ -1,3 +1,5 @@ +#include + #include "mem_util.h" void *malloc_zero(size_t size) diff --git a/runahead/mem_util.h b/runahead/mem_util.h index b02f8d8b20..d91047244f 100644 --- a/runahead/mem_util.h +++ b/runahead/mem_util.h @@ -1,7 +1,6 @@ #ifndef __MEM_UTIL__ #define __MEM_UTIL__ -#include #include #include diff --git a/runahead/secondary_core.c b/runahead/secondary_core.c index 08d4bdcefb..524ebccbda 100644 --- a/runahead/secondary_core.c +++ b/runahead/secondary_core.c @@ -1,7 +1,6 @@ #if defined(HAVE_DYNAMIC) && HAVE_DYNAMIC #include -#include #include #if defined(_WIN32_WINNT) && _WIN32_WINNT < 0x0500 || defined(_XBOX)