Skip to content

Commit

Permalink
Import MQTTSessionManager only if available
Browse files Browse the repository at this point in the history
  • Loading branch information
jcavar committed Feb 15, 2018
1 parent 1a15187 commit 1d09484
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions MQTTClient/MQTTClient/MQTTClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
#import <MQTTClient/MQTTSSLSecurityPolicyTransport.h>
#import <MQTTClient/MQTTSessionManager.h>

#if __has_include(<MQTTClient/MQTTSessionManager.h>)
#import <MQTTClient/MQTTSessionManager.h>
#endif

//! Project version number for MQTTClient.
FOUNDATION_EXPORT double MQTTClientVersionNumber;

Expand Down

0 comments on commit 1d09484

Please sign in to comment.