1.1 --- a/ucx/ucx.h Tue Jul 23 12:14:17 2013 +0200 1.2 +++ b/ucx/ucx.h Tue Jul 23 12:54:45 2013 +0200 1.3 @@ -38,6 +38,16 @@ 1.4 1.5 #include <stdlib.h> 1.6 1.7 +#ifdef _WIN32 1.8 +#ifndef __ssize_t_defined 1.9 +#include <BaseTsd.h> 1.10 +typedef SSIZE_T ssize_t; 1.11 +#define __ssize_t_defined 1.12 +#endif /* __ssize_t_defined */ 1.13 +#else /* !_WIN32 */ 1.14 +#include <sys/types.h> 1.15 +#endif /* _WIN32 */ 1.16 + 1.17 #ifdef __cplusplus 1.18 #ifndef _Bool 1.19 #define _Bool bool