From 6323bbb6c0f11ca9279dcac39d0e2bdfb994a170 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Fri, 6 Dec 2024 02:50:36 +0000 Subject: [PATCH] gdbstub_internal.h: fix build error with mingw ../../gdbstub/gdbstub_internal.h:36:25: fatal error: sys/socket.h: No such file or directory --- desmume/src/gdbstub/gdbstub_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/gdbstub/gdbstub_internal.h b/desmume/src/gdbstub/gdbstub_internal.h index 4d780a18f..747720e7d 100644 --- a/desmume/src/gdbstub/gdbstub_internal.h +++ b/desmume/src/gdbstub/gdbstub_internal.h @@ -25,7 +25,7 @@ #ifndef _GDBSTUB_INTERNAL_H_ #define _GDBSTUB_INTERNAL_H_ 1 -#if defined(_MSC_VER) +#if defined(_MSC_VER) || defined(__MINGW32__) #include #include