aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nt/inc/sys/socket.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/nt/inc/sys/socket.h b/nt/inc/sys/socket.h
index 2e52c74691e..a9825ee197d 100644
--- a/nt/inc/sys/socket.h
+++ b/nt/inc/sys/socket.h
@@ -53,6 +53,11 @@ Boston, MA 02110-1301, USA. */
53 53
54#include <winsock2.h> 54#include <winsock2.h>
55#include <ws2tcpip.h> 55#include <ws2tcpip.h>
56/* process.c uses uint16_t (from C99) for IPv6, but
57 apparently it is not defined in some versions of mingw and msvc. */
58#ifndef UINT16_C
59typedef unsigned short uint16_t;
60#endif
56 61
57/* redefine select to reference our version */ 62/* redefine select to reference our version */
58#ifdef MUST_REDEF_SELECT 63#ifdef MUST_REDEF_SELECT