Permalink
Browse files

- Correct fishhook import in RCTReconnectingWebSocket Fixes #16039 (#…

…16271)

Summary:
RCTReconnectingWebSocket is not compiling correctly because of an incorrect import (#16039).

Everything build and run as usual.

[IOS] [BUGFIX] [Fishhook] - Correct fishhook import in RCTReconnectingWebSocket Fixes #16039
Closes #16271

Differential Revision: D8679758

Pulled By: hramos

fbshipit-source-id: b05dda3a01a68ace87f11889b84ce6b323e5c16a
  • Loading branch information...
mmacdougall authored and facebook-github-bot committed Jun 28, 2018
1 parent bfb68c0 commit 75a0273de21948b0b959263100f09111f738ec35
Showing with 5 additions and 0 deletions.
  1. +5 −0 Libraries/WebSocket/RCTReconnectingWebSocket.m
@@ -9,7 +9,12 @@
#import <React/RCTConvert.h>
#import <React/RCTDefines.h>
#if __has_include(<React/fishhook.h>)
#import <React/fishhook.h>
#else
#import <fishhook/fishhook.h>
#endif
#if __has_include(<os/log.h>) && defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 100300 /* __IPHONE_10_3 */
#import <os/log.h>

0 comments on commit 75a0273

Please sign in to comment.