diff options
-rw-r--r-- | util/cutils.c | 4 | ||||
-rw-r--r-- | util/oslib-posix.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/util/cutils.c b/util/cutils.c index cb43dda213..def9c746ce 100644 --- a/util/cutils.c +++ b/util/cutils.c @@ -39,6 +39,10 @@ #include <kernel/image.h> #endif +#ifdef __APPLE__ +#include <mach-o/dyld.h> +#endif + #ifdef G_OS_WIN32 #include <pathcch.h> #include <wchar.h> diff --git a/util/oslib-posix.c b/util/oslib-posix.c index bffec18869..d55af69c11 100644 --- a/util/oslib-posix.c +++ b/util/oslib-posix.c @@ -58,10 +58,6 @@ #include <lwp.h> #endif -#ifdef __APPLE__ -#include <mach-o/dyld.h> -#endif - #include "qemu/mmap-alloc.h" #ifdef CONFIG_DEBUG_STACK_USAGE |