summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ios/StreamConnector.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/ios/StreamConnector.h')
-rw-r--r--cpp/src/Ice/ios/StreamConnector.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/Ice/ios/StreamConnector.h b/cpp/src/Ice/ios/StreamConnector.h
index ad79fd415cb..bbdaa2a8bad 100644
--- a/cpp/src/Ice/ios/StreamConnector.h
+++ b/cpp/src/Ice/ios/StreamConnector.h
@@ -5,6 +5,10 @@
#ifndef ICE_STREAM_CONNECTOR_H
#define ICE_STREAM_CONNECTOR_H
+#include <Ice/Config.h>
+
+#if TARGET_OS_IPHONE != 0
+
#include <Ice/TransceiverF.h>
#include <Ice/Connector.h>
@@ -44,3 +48,5 @@ private:
}
#endif
+
+#endif