From c4ef975e4574704774ef32f363cec3d8b8ed4b3b Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Thu, 13 Jun 2013 20:19:29 +0000 Subject: NO-JIRA: Remove unnecessary includes for AsynchIO git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1492847 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/sys/AsynchIO.h | 4 ++-- cpp/src/qpid/sys/posix/AsynchIO.cpp | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'cpp') diff --git a/cpp/src/qpid/sys/AsynchIO.h b/cpp/src/qpid/sys/AsynchIO.h index 679665f8ad..0a2d85ea14 100644 --- a/cpp/src/qpid/sys/AsynchIO.h +++ b/cpp/src/qpid/sys/AsynchIO.h @@ -24,7 +24,6 @@ #include "qpid/CommonImportExport.h" #include "qpid/sys/IntegerTypes.h" -#include "qpid/sys/SecuritySettings.h" #include @@ -33,7 +32,8 @@ namespace qpid { namespace sys { - + +class SecuritySettings; class Socket; class Poller; diff --git a/cpp/src/qpid/sys/posix/AsynchIO.cpp b/cpp/src/qpid/sys/posix/AsynchIO.cpp index 353a55f50c..c609e1ed31 100644 --- a/cpp/src/qpid/sys/posix/AsynchIO.cpp +++ b/cpp/src/qpid/sys/posix/AsynchIO.cpp @@ -20,6 +20,7 @@ */ #include "qpid/sys/AsynchIO.h" +#include "qpid/sys/SecuritySettings.h" #include "qpid/sys/Socket.h" #include "qpid/sys/SocketAddress.h" #include "qpid/sys/Poller.h" @@ -28,15 +29,14 @@ #include "qpid/sys/Time.h" #include "qpid/log/Statement.h" -#include "qpid/sys/posix/check.h" - // TODO The basic algorithm here is not really POSIX specific and with a // bit more abstraction could (should) be promoted to be platform portable -#include -#include -#include +// - The POSIX specific code here is ignoring SIGPIPE which should really +// be part of the socket code. +// - And checking errno to detect specific read/write conditions. +// #include -#include +#include #include #include -- cgit v1.2.1