diff options
-rw-r--r-- | include/compat/sys/types.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ | |||
20 | 20 | ||
21 | #ifdef __MINGW32__ | 21 | #ifdef __MINGW32__ |
22 | #include <_bsd_types.h> | 22 | #include <_bsd_types.h> |
23 | typedef uint32_t in_addr_t; | ||
23 | #endif | 24 | #endif |
24 | 25 | ||
25 | #ifdef _MSC_VER | 26 | #ifdef _MSC_VER |
26 | typedef unsigned char u_char; | 27 | typedef unsigned char u_char; |
27 | typedef unsigned short u_short; | 28 | typedef unsigned short u_short; |
28 | typedef unsigned int u_int; | 29 | typedef unsigned int u_int; |
30 | typedef uint32_t in_addr_t; | ||
29 | 31 | ||
30 | #include <basetsd.h> | 32 | #include <basetsd.h> |
31 | typedef SSIZE_T ssize_t; | 33 | typedef SSIZE_T ssize_t; |