1 diff --git a/dlls/ntdll/unix/loader.c b/dlls/ntdll/unix/loader.c
2 index cde37c48b0d..be237bc0ad3 100644
3 --- a/dlls/ntdll/unix/loader.c
4 +++ b/dlls/ntdll/unix/loader.c
7 # undef GetCurrentThread
9 +# include <pthread/qos.h>
10 # include <mach/mach.h>
11 # include <mach/mach_error.h>
12 # include <mach-o/getsect.h>