summaryrefslogtreecommitdiff
path: root/examples/IPC_SAP/SPIPE_SAP/consumer_read.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-04 14:19:44 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-04 14:19:44 +0000
commitd6dfe8088bcd5fa83da83c0791a382e02e852241 (patch)
treef94709c7221421abd6017437c4e80bc479517988 /examples/IPC_SAP/SPIPE_SAP/consumer_read.cpp
parentc674b1f0db9532877dfc7f2c59059d496917e758 (diff)
downloadATCD-d6dfe8088bcd5fa83da83c0791a382e02e852241.tar.gz
moved #include of shared.h inside ACE_HAS_STREAM_PIPES protection to avoid compilation warnings on unsupported platforms.
Diffstat (limited to 'examples/IPC_SAP/SPIPE_SAP/consumer_read.cpp')
-rw-r--r--examples/IPC_SAP/SPIPE_SAP/consumer_read.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/IPC_SAP/SPIPE_SAP/consumer_read.cpp b/examples/IPC_SAP/SPIPE_SAP/consumer_read.cpp
index c9321e8411a..710372d42cb 100644
--- a/examples/IPC_SAP/SPIPE_SAP/consumer_read.cpp
+++ b/examples/IPC_SAP/SPIPE_SAP/consumer_read.cpp
@@ -2,10 +2,11 @@
#include "ace/SPIPE_Addr.h"
#include "ace/SPIPE_Acceptor.h"
-#include "shared.h"
#if defined (ACE_HAS_STREAM_PIPES)
+#include "shared.h"
+
int
main (int argc, char *argv[])
{