summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/AV/QoS_UDP.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/AV/QoS_UDP.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/QoS_UDP.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/AV/QoS_UDP.h b/TAO/orbsvcs/orbsvcs/AV/QoS_UDP.h
index 2e08905eeca..c04e9877107 100644
--- a/TAO/orbsvcs/orbsvcs/AV/QoS_UDP.h
+++ b/TAO/orbsvcs/orbsvcs/AV/QoS_UDP.h
@@ -20,6 +20,10 @@
#include "ace/pre.h"
+#include "ace/config-all.h"
+
+#if defined (ACE_HAS_RAPI) || defined (ACE_HAS_WINSOCK2_GQOS)
+
#include "ace/OS.h"
#include "ace/QoS/QoS_Session_Factory.h"
#include "ace/QoS/QoS_Decorator.h"
@@ -293,5 +297,7 @@ ACE_FACTORY_DECLARE (TAO_AV, TAO_AV_UDP_QoS_Factory)
#include "QoS_UDP.i"
#endif /* __ACE_INLINE__ */
+#endif /* ACE_HAS_RAPI || ACE_HAS_WINSOCK2_GQOS */
+
#include "ace/post.h"
#endif /* TAO_AV_QOS_UDP_H */