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:
parent
0df7918acb
commit
6323bbb6c0
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue