Skip to content

Commit

Permalink
Fix compile issue after 269060@main
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=262894
rdar://116680935

Reviewed by Chris Dumez.

Include XPC SPI header, since the system XPC header is not always present.

* Source/WebKit/Configurations/BaseExtension.xcconfig:
* Source/WebKit/Shared/AuxiliaryProcessExtensions/AuxiliaryProcessExtensionBridge.h:

Canonical link: https://commits.webkit.org/269079@main
  • Loading branch information
pvollan committed Oct 9, 2023
1 parent 6628357 commit ec557bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion Source/WebKit/Configurations/BaseExtension.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
TARGETED_DEVICE_FAMILY = 1,2,7;
EXCLUDED_SOURCE_FILE_NAMES = *;
EXCLUDED_SOURCE_FILE_NAMES[sdk=iphoneos17*] = ;
CODE_SIGN_ENTITLEMENTS[sdk=*simulator] = Shared/AuxiliaryProcessExtensions/AuxiliaryProcessExtension.entitlements;
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO;
WK_PROCESSED_XCENT_FILE=$(TEMP_FILE_DIR)/$(FULL_PRODUCT_NAME).entitlements
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@

#pragma once

#import <xpc/xpc.h>
#if __has_include(<xpc/xpc.h>)
#include <xpc/xpc.h>
#else
#include <wtf/spi/darwin/XPCSPI.h>
#endif

#ifdef __cplusplus
extern "C" {
Expand Down

0 comments on commit ec557bf

Please sign in to comment.