darwin.xnu: provide additional headers needed by Libsystem

This commit is contained in:
Randy Eckenrode 2023-06-12 01:12:17 -04:00
parent a4d88eeaee
commit 2c149715fe
No known key found for this signature in database
GPG Key ID: 64C1CD4EC2A600D9
3 changed files with 7 additions and 0 deletions

View File

@ -116,6 +116,9 @@ appleDerivation' (if headersOnly then stdenvNoCC else stdenv) (
cp EXTERNAL_HEADERS/Availability*.h $out/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/
cp -r EXTERNAL_HEADERS/corecrypto $out/include
# These headers are needed by Libsystem.
cp libsyscall/wrappers/{spawn/spawn.h,libproc/libproc.h} $out/include
# Build the mach headers we crave
export SRCROOT=$PWD/libsyscall
export DERIVED_SOURCES_DIR=$out/include

View File

@ -637,6 +637,7 @@ libkern/os/reason_private.h
libkern/os/refcnt.h
libkern/os/refcnt_internal.h
libkern/os/trace.h
libproc.h
mach/arm/_structs.h
mach/arm/asm.h
mach/arm/boolean.h
@ -1270,6 +1271,7 @@ servers/ls_defs.h
servers/netname.h
servers/netname_defs.h
servers/nm_defs.h
spawn.h
sys/_endian.h
sys/_posix_availability.h
sys/_select.h

View File

@ -554,6 +554,7 @@ libkern/os/object.h
libkern/os/object_private.h
libkern/os/overflow.h
libkern/os/trace.h
libproc.h
mach/audit_triggers.defs
mach/boolean.h
mach/bootstrap.h
@ -1116,6 +1117,7 @@ servers/ls_defs.h
servers/netname.h
servers/netname_defs.h
servers/nm_defs.h
spawn.h
sys/_endian.h
sys/_posix_availability.h
sys/_select.h