summaryrefslogtreecommitdiff
path: root/ace/SUN_Proactor.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/SUN_Proactor.h')
-rw-r--r--ace/SUN_Proactor.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/ace/SUN_Proactor.h b/ace/SUN_Proactor.h
index ae01690d731..3c14a243576 100644
--- a/ace/SUN_Proactor.h
+++ b/ace/SUN_Proactor.h
@@ -13,10 +13,15 @@
#ifndef ACE_SUN_PROACTOR_H
#define ACE_SUN_PROACTOR_H
-#include "ace/POSIX_Proactor.h"
+#include "ace/config-all.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
#if defined (ACE_HAS_AIO_CALLS) && defined (sun)
+#include "ace/POSIX_Proactor.h"
#include "sys/asynch.h" // Sun native aio calls
/**