summaryrefslogtreecommitdiff
path: root/qpid/cpp/include/qpid/sys/windows/IntegerTypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/include/qpid/sys/windows/IntegerTypes.h')
-rwxr-xr-xqpid/cpp/include/qpid/sys/windows/IntegerTypes.h4
1 files changed, 3 insertions, 1 deletions
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*/