From ca515e99a39dcadbbfb653205e2929dec7e7096b Mon Sep 17 00:00:00 2001 From: mmacdougall Date: Thu, 28 Jun 2018 11:26:46 -0700 Subject: [PATCH] - Correct fishhook import in RCTReconnectingWebSocket Fixes #16039 (#16271) Summary: RCTReconnectingWebSocket is not compiling correctly because of an incorrect import (https://github.com/facebook/react-native/issues/16039). Everything build and run as usual. [IOS] [BUGFIX] [Fishhook] - Correct fishhook import in RCTReconnectingWebSocket Fixes #16039 Closes https://github.com/facebook/react-native/pull/16271 Differential Revision: D8679758 Pulled By: hramos fbshipit-source-id: b05dda3a01a68ace87f11889b84ce6b323e5c16a --- Libraries/WebSocket/RCTReconnectingWebSocket.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Libraries/WebSocket/RCTReconnectingWebSocket.m b/Libraries/WebSocket/RCTReconnectingWebSocket.m index c0f0988cf72eb1..522eca0eabf44c 100644 --- a/Libraries/WebSocket/RCTReconnectingWebSocket.m +++ b/Libraries/WebSocket/RCTReconnectingWebSocket.m @@ -9,7 +9,12 @@ #import #import + +#if __has_include() +#import +#else #import +#endif #if __has_include() && defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 100300 /* __IPHONE_10_3 */ #import