diff --git a/include/compat/sys/types.h b/include/compat/sys/types.h index dcd8067..701b77a 100644 --- a/include/compat/sys/types.h +++ b/include/compat/sys/types.h @@ -20,12 +20,14 @@ #ifdef __MINGW32__ #include <_bsd_types.h> +typedef uint32_t in_addr_t; #endif #ifdef _MSC_VER typedef unsigned char u_char; typedef unsigned short u_short; typedef unsigned int u_int; +typedef uint32_t in_addr_t; #include typedef SSIZE_T ssize_t;