aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libslirp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libslirp.h b/src/libslirp.h
index 63a9600..7860808 100644
--- a/src/libslirp.h
+++ b/src/libslirp.h
@@ -10,7 +10,8 @@
#include <winsock2.h>
#include <ws2tcpip.h>
#include <in6addr.h>
-typedef int slirp_ssize_t;
+#include <BaseTsd.h>
+typedef SSIZE_T slirp_ssize_t;
#ifdef BUILDING_LIBSLIRP
# define SLIRP_EXPORT __declspec(dllexport)
#else