[PATCH] ntdll: Correct compile error under macos

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Fri Apr 17 06:53:20 CDT 2020


Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at 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
-- 
2.25.1




More information about the wine-devel mailing list