Skip to content

Commit

Permalink
[iOS] Correct fishhook import Fixes #16039
Browse files Browse the repository at this point in the history
  • Loading branch information
macdoum1 committed Jun 28, 2018
1 parent 6110a4c commit 0645a93
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Libraries/WebSocket/RCTReconnectingWebSocket.m
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 0645a93

Please sign in to comment.