diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2013-06-13 20:19:29 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2013-06-13 20:19:29 +0000 |
| commit | 3841bdd6e95524a81b700edf5d986f91ff1a76be (patch) | |
| tree | 4abf7c9e8ee8759dddd52bfb8304840d8866b3f1 /qpid/cpp/src | |
| parent | 6b8ec57e4e44daed4bcf2ea335760f5fc46d7a79 (diff) | |
| download | qpid-python-3841bdd6e95524a81b700edf5d986f91ff1a76be.tar.gz | |
NO-JIRA: Remove unnecessary includes for AsynchIO
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1492847 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/sys/AsynchIO.h | 4 | ||||
| -rw-r--r-- | qpid/cpp/src/qpid/sys/posix/AsynchIO.cpp | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/qpid/cpp/src/qpid/sys/AsynchIO.h b/qpid/cpp/src/qpid/sys/AsynchIO.h index 679665f8ad..0a2d85ea14 100644 --- a/qpid/cpp/src/qpid/sys/AsynchIO.h +++ b/qpid/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 <string.h> @@ -33,7 +32,8 @@ namespace qpid { namespace sys { - + +class SecuritySettings; class Socket; class Poller; diff --git a/qpid/cpp/src/qpid/sys/posix/AsynchIO.cpp b/qpid/cpp/src/qpid/sys/posix/AsynchIO.cpp index 353a55f50c..c609e1ed31 100644 --- a/qpid/cpp/src/qpid/sys/posix/AsynchIO.cpp +++ b/qpid/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 <unistd.h> -#include <sys/socket.h> -#include <signal.h> +// - 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 <errno.h> -#include <string.h> +#include <signal.h> #include <boost/bind.hpp> #include <boost/lexical_cast.hpp> |
