0.2.0-dev Download ZIP
16 lines ·476 B Raw
| 1 | diff --git a/thirdparty/wslay/wslay/wslay.h b/thirdparty/wslay/wslay/wslay.h |
| 2 | index 7ab850111a..7d63bdb2ce 100644 |
| 3 | --- a/thirdparty/wslay/wslay/wslay.h |
| 4 | +++ b/thirdparty/wslay/wslay/wslay.h |
| 5 | @@ -33,6 +33,11 @@ extern "C" { |
| 6 | #include <stdlib.h> |
| 7 | #include <sys/types.h> |
| 8 | |
| 9 | +#if defined(_MSC_VER) |
| 10 | +#include <BaseTsd.h> |
| 11 | +typedef SSIZE_T ssize_t; |
| 12 | +#endif |
| 13 | + |
| 14 | /* |
| 15 | * wslay/wslayver.h is generated from wslay/wslayver.h.in by |
| 16 | * configure. The projects which do not use autotools can set |