Skip to content

Commit

Permalink
- Correct fishhook import in RCTReconnectingWebSocket Fixes #16039 (#…
Browse files Browse the repository at this point in the history
…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
macdoum1 authored and hramos committed Jul 4, 2018
1 parent 537731f commit ca515e9
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 ca515e9

Please sign in to comment.