summaryrefslogtreecommitdiffstats
path: root/src/core/gdbstub/gdbstub.cpp
diff options
context:
space:
mode:
authorJannik Vogel <email@jannikvogel.de>2016-12-03 21:08:02 +0100
committerJannik Vogel <email@jannikvogel.de>2016-12-05 19:09:16 +0100
commit45d941d62e2accea92f5b5183afe760e69a618ac (patch)
tree123b8c13185b472a1fa413c3b8caf42980106207 /src/core/gdbstub/gdbstub.cpp
parentMerge pull request #2269 from Subv/update_dynarmic (diff)
downloadyuzu-45d941d62e2accea92f5b5183afe760e69a618ac.tar
yuzu-45d941d62e2accea92f5b5183afe760e69a618ac.tar.gz
yuzu-45d941d62e2accea92f5b5183afe760e69a618ac.tar.bz2
yuzu-45d941d62e2accea92f5b5183afe760e69a618ac.tar.lz
yuzu-45d941d62e2accea92f5b5183afe760e69a618ac.tar.xz
yuzu-45d941d62e2accea92f5b5183afe760e69a618ac.tar.zst
yuzu-45d941d62e2accea92f5b5183afe760e69a618ac.zip
Diffstat (limited to '')
-rw-r--r--src/core/gdbstub/gdbstub.cpp3
1 files changed, 2 insertions, 1 deletions
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 <fcntl.h>
#ifdef _WIN32
-#include <WinSock2.h>
+#include <winsock2.h>
+// winsock2.h needs to be included first to prevent winsock.h being included by other includes
#include <common/x64/abi.h>
#include <io.h>
#include <iphlpapi.h>