summaryrefslogtreecommitdiff
path: root/TAO/examples/Event_Comm/Notifier_Handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Event_Comm/Notifier_Handler.h')
-rw-r--r--TAO/examples/Event_Comm/Notifier_Handler.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/TAO/examples/Event_Comm/Notifier_Handler.h b/TAO/examples/Event_Comm/Notifier_Handler.h
index 7e2c7ad7952..a54d1b7cdc0 100644
--- a/TAO/examples/Event_Comm/Notifier_Handler.h
+++ b/TAO/examples/Event_Comm/Notifier_Handler.h
@@ -14,10 +14,15 @@
//
// ============================================================================
-#if !defined (_NOTIFIER_HANDLER_H)
+#ifndef _NOTIFIER_HANDLER_H
#define _NOTIFIER_HANDLER_H
#include "ace/CORBA_Handler.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
#include "Event_Comm_i.h"
#include "orbsvcs/Naming/Naming_Utils.h"
#include "orbsvcs/CosNamingC.h"