1.1 --- a/src/cx/common.h Mon Dec 27 16:51:10 2021 +0100 1.2 +++ b/src/cx/common.h Mon Dec 27 17:02:32 2021 +0100 1.3 @@ -49,6 +49,8 @@ 1.4 /** Version constant which ensures to increase monotonically. */ 1.5 #define UCX_VERSION (((UCX_VERSION_MAJOR)<<16)|UCX_VERSION_MINOR) 1.6 1.7 +#include <stdlib.h> 1.8 +#include <stddef.h> 1.9 1.10 #ifdef _WIN32 1.11 #if !(defined __ssize_t_defined || defined _SSIZE_T_) 1.12 @@ -65,9 +67,7 @@ 1.13 #endif 1.14 #endif /* __WORDSIZE */ 1.15 #else /* !_WIN32 */ 1.16 - 1.17 #include <sys/types.h> 1.18 - 1.19 #endif /* _WIN32 */ 1.20 1.21 #endif /* UCX_COMMON_H */