aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/compat/sys/types.h2
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>
23typedef uint32_t in_addr_t;
23#endif 24#endif
24 25
25#ifdef _MSC_VER 26#ifdef _MSC_VER
26typedef unsigned char u_char; 27typedef unsigned char u_char;
27typedef unsigned short u_short; 28typedef unsigned short u_short;
28typedef unsigned int u_int; 29typedef unsigned int u_int;
30typedef uint32_t in_addr_t;
29 31
30#include <basetsd.h> 32#include <basetsd.h>
31typedef SSIZE_T ssize_t; 33typedef SSIZE_T ssize_t;