summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/OutgoingConnectionFactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/src/IceE/OutgoingConnectionFactory.h')
-rwxr-xr-xcppe/src/IceE/OutgoingConnectionFactory.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cppe/src/IceE/OutgoingConnectionFactory.h b/cppe/src/IceE/OutgoingConnectionFactory.h
index 2448da694ac..a29d398e829 100755
--- a/cppe/src/IceE/OutgoingConnectionFactory.h
+++ b/cppe/src/IceE/OutgoingConnectionFactory.h
@@ -15,7 +15,9 @@
#include <IceE/InstanceF.h>
#include <IceE/ObjectAdapterF.h>
#include <IceE/EndpointF.h>
-#include <IceE/RouterF.h>
+#ifndef ICEE_NO_ROUTER
+# include <IceE/RouterF.h>
+#endif
#include <IceE/Mutex.h>
#include <IceE/Monitor.h>
#include <set>