summaryrefslogtreecommitdiff
path: root/examples/Timer_Queue/Driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Timer_Queue/Driver.h')
-rw-r--r--examples/Timer_Queue/Driver.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/Timer_Queue/Driver.h b/examples/Timer_Queue/Driver.h
index 01c35f27eee..135272de0f4 100644
--- a/examples/Timer_Queue/Driver.h
+++ b/examples/Timer_Queue/Driver.h
@@ -19,10 +19,15 @@
//
// ============================================================================
-#if !defined (_DRIVER_H_)
+#ifndef _DRIVER_H_
#define _DRIVER_H_
#include "ace/Task.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
#include "ace/Timer_Heap_T.h"
#include "ace/Timer_Queue_Adapters.h"