summaryrefslogtreecommitdiff
path: root/qpid/cpp/include/qpid/sys
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/include/qpid/sys')
-rw-r--r--qpid/cpp/include/qpid/sys/posix/PrivatePosix.h5
-rwxr-xr-xqpid/cpp/include/qpid/sys/windows/IntegerTypes.h4
2 files changed, 8 insertions, 1 deletions
diff --git a/qpid/cpp/include/qpid/sys/posix/PrivatePosix.h b/qpid/cpp/include/qpid/sys/posix/PrivatePosix.h
index 6ffd3d8383..79cb950275 100644
--- a/qpid/cpp/include/qpid/sys/posix/PrivatePosix.h
+++ b/qpid/cpp/include/qpid/sys/posix/PrivatePosix.h
@@ -27,6 +27,7 @@
struct timespec;
struct timeval;
+struct addrinfo;
namespace qpid {
namespace sys {
@@ -36,6 +37,10 @@ struct timespec& toTimespec(struct timespec& ts, const Duration& t);
struct timeval& toTimeval(struct timeval& tv, const Duration& t);
Duration toTime(const struct timespec& ts);
+// Private SocketAddress details
+class SocketAddress;
+const struct addrinfo& getAddrInfo(const SocketAddress&);
+
// Private fd related implementation details
class IOHandlePrivate {
public:
diff --git a/qpid/cpp/include/qpid/sys/windows/IntegerTypes.h b/qpid/cpp/include/qpid/sys/windows/IntegerTypes.h
index 47b1d16a76..7b2c57ad8e 100755
--- a/qpid/cpp/include/qpid/sys/windows/IntegerTypes.h
+++ b/qpid/cpp/include/qpid/sys/windows/IntegerTypes.h
@@ -21,6 +21,8 @@
*
*/
+#include <BaseTsd.h> /* Windows system types */
+
typedef unsigned char uint8_t;
typedef char int8_t;
typedef unsigned short uint16_t;
@@ -32,7 +34,7 @@ typedef __int64 int64_t;
// Visual Studio doesn't define other common types, so set them up here too.
typedef int pid_t;
-typedef int ssize_t;
+typedef SSIZE_T ssize_t;
typedef unsigned int uint;
#endif /*!QPID_SYS_WINDOWS_INTEGERTYPES_H*/