]> git.saurik.com Git - apple/xnu.git/blobdiff - libsyscall/xcodescripts/compile-syscalls.pl
xnu-7195.101.1.tar.gz
[apple/xnu.git] / libsyscall / xcodescripts / compile-syscalls.pl
index f0c269132686a403f3f85975b176aeb00823def4..f278f1dba0cb70fb50f2c0fa96bdbeebef1ea207 100755 (executable)
@@ -63,7 +63,9 @@ my @CFLAGS = (
        "-x assembler-with-cpp",
        "-c",
        "-isysroot", $ENV{'SDKROOT'} || "/",
-       "-I".$ENV{"SDKROOT"}."/System/Library/Frameworks/System.framework/PrivateHeaders",
+       "-I".$ENV{"SDKROOT"}."/".$ENV{"SDK_INSTALL_HEADERS_ROOT"}."/usr/include",
+       "-I".$ENV{"SDKROOT"}."/".$ENV{"SDK_INSTALL_HEADERS_ROOT"}."/usr/local/include",
+       "-I".$ENV{"SDKROOT"}."/".$ENV{"SDK_INSTALL_HEADERS_ROOT"}."/System/Library/Frameworks/System.framework/PrivateHeaders",
 );
 
 chomp(my $LIBTOOL = `xcrun -sdk "$ENV{'SDKROOT'}" -find libtool`);