diff options
Diffstat (limited to 'cpp')
| -rw-r--r-- | cpp/src/qpid/sys/AsynchIO.h | 4 | ||||
| -rw-r--r-- | cpp/src/qpid/sys/posix/AsynchIO.cpp | 12 |
2 files changed, 8 insertions, 8 deletions
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 <string.h> @@ -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 <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> |
