gdbstub_internal.h: fix build error with mingw

../../gdbstub/gdbstub_internal.h:36:25: fatal error: sys/socket.h: No such file or directory
This commit is contained in:
rofl0r 2024-12-06 02:50:36 +00:00
parent 0df7918acb
commit 6323bbb6c0
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
#ifndef _GDBSTUB_INTERNAL_H_
#define _GDBSTUB_INTERNAL_H_ 1
#if defined(_MSC_VER)
#if defined(_MSC_VER) || defined(__MINGW32__)
#include <stdint.h>
#include <winsock2.h>