Signed-off-by: Alistair Leslie-Hughes leslie_alistair@hotmail.com --- dlls/ntdll/loader.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c index cdc1fcef178..946db7d0193 100644 --- a/dlls/ntdll/loader.c +++ b/dlls/ntdll/loader.c @@ -31,6 +31,10 @@ # include <sys/mman.h> #endif
+#if defined(__APPLE__) +# include <mach-o/getsect.h> +#endif + #include "ntstatus.h" #define WIN32_NO_STATUS #define NONAMELESSUNION