diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2022-11-02 14:32:55 +0000 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2022-11-13 14:44:43 +0000 |
commit | 90f902daf5edb817d57b5e377d7ad54948a5a9f4 (patch) | |
tree | 07c46653c054bb73c207dcf9936ea4abc3d3ef41 /gdb/windows-nat.c | |
parent | 28ebf3f8d07e81efc06ce00f91fc542c7d6e0327 (diff) | |
download | gdb-90f902daf5edb817d57b5e377d7ad54948a5a9f4.zip gdb-90f902daf5edb817d57b5e377d7ad54948a5a9f4.tar.gz gdb-90f902daf5edb817d57b5e377d7ad54948a5a9f4.tar.bz2 |
Drop apparently unneeded include of winsock2.h
Commit d08bae3d ("Implement target async for Windows") unconditionally
includes winsock2.h. We don't want to do that on Cygwin, since
including both winsock2.h and sys/select.h causes incompatible
redefinition problems.
Since that include is apparently unneeded, just drop it.
Fixes: d08bae3d
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r-- | gdb/windows-nat.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index ab94de0..6250cbc 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -34,7 +34,6 @@ #include <signal.h> #include <sys/types.h> #include <fcntl.h> -#include <winsock2.h> #include <windows.h> #include <imagehlp.h> #ifdef __CYGWIN__ |