summaryrefslogtreecommitdiff
path: root/examples/Connection/blocking/SPIPE-acceptor.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Connection/blocking/SPIPE-acceptor.h')
-rw-r--r--examples/Connection/blocking/SPIPE-acceptor.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/Connection/blocking/SPIPE-acceptor.h b/examples/Connection/blocking/SPIPE-acceptor.h
index 6428d6ccf55..84253f2e37c 100644
--- a/examples/Connection/blocking/SPIPE-acceptor.h
+++ b/examples/Connection/blocking/SPIPE-acceptor.h
@@ -1,10 +1,15 @@
/* -*- C++ -*- */
// $Id$
-#if !defined (SP_ACCEPTOR_H)
+#ifndef SP_ACCEPTOR_H
#define SP_ACCEPTOR_H
#include "ace/Svc_Handler.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
#include "ace/Acceptor.h"
#include "ace/SPIPE_Stream.h"
#include "ace/SPIPE_Acceptor.h"