Skip to content

Commit 553e5fe

Browse files
committed
[iOS] Correct fishhook import Fixes #16039
1 parent 7809381 commit 553e5fe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Libraries/WebSocket/RCTReconnectingWebSocket.m

+5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@
1111

1212
#import <React/RCTConvert.h>
1313
#import <React/RCTDefines.h>
14+
15+
#if __has_include(<React/fishhook.h>)
16+
#import <React/fishhook.h>
17+
#else
1418
#import <fishhook/fishhook.h>
19+
#endif
1520

1621
#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000 /* __IPHONE_11_0 */
1722
#import <os/log.h>

0 commit comments

Comments
 (0)