From 45d941d62e2accea92f5b5183afe760e69a618ac Mon Sep 17 00:00:00 2001 From: Jannik Vogel Date: Sat, 3 Dec 2016 21:08:02 +0100 Subject: Support mingw cross-compile --- src/core/gdbstub/gdbstub.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/gdbstub/gdbstub.cpp b/src/core/gdbstub/gdbstub.cpp index aea43e92b..aa849ab4b 100644 --- a/src/core/gdbstub/gdbstub.cpp +++ b/src/core/gdbstub/gdbstub.cpp @@ -15,7 +15,8 @@ #include #ifdef _WIN32 -#include +#include +// winsock2.h needs to be included first to prevent winsock.h being included by other includes #include #include #include -- cgit v1.2.3