From 530fbba1edc3670e88ab7854e19d64df2adf0ee4 Mon Sep 17 00:00:00 2001 From: kinichiro Date: Sun, 7 May 2017 02:23:55 +0900 Subject: Add definition of in_addr_t for Windows build --- include/compat/sys/types.h | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3-55-g6feb