summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ios/StreamEndpointI.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/ios/StreamEndpointI.h')
-rw-r--r--cpp/src/Ice/ios/StreamEndpointI.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/Ice/ios/StreamEndpointI.h b/cpp/src/Ice/ios/StreamEndpointI.h
index d8e70732129..6e117e8871b 100644
--- a/cpp/src/Ice/ios/StreamEndpointI.h
+++ b/cpp/src/Ice/ios/StreamEndpointI.h
@@ -5,6 +5,10 @@
#ifndef ICE_STREAM_ENDPOINT_I_H
#define ICE_STREAM_ENDPOINT_I_H
+#include <Ice/Config.h>
+
+#if TARGET_OS_IPHONE != 0
+
#include <Ice/ProtocolInstance.h>
#include <Ice/IPEndpointI.h>
#include <Ice/WSEndpoint.h>
@@ -151,3 +155,5 @@ private:
}
#endif
+
+#endif