aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Hauke <mardnh@gmx.de>2021-09-11 16:31:36 +0200
committerSteve Markgraf <steve@steve-m.de>2021-09-11 19:09:17 +0200
commitd770add42e87a40e59a0185521373f516778384b (patch)
tree21bd11508fa137cbeb06caaa64fd8385ebb1286a
parenta4eab76c8cafc6f3ebed8b6757b0643df9453bec (diff)
Fix minGW build
MinGW-w64 ships all Windows SDK headers as lowercase, which prevents cross-compiling this code from Linux.
-rw-r--r--src/rtl_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtl_tcp.c b/src/rtl_tcp.c
index 89b1fb9..84f5591 100644
--- a/src/rtl_tcp.c
+++ b/src/rtl_tcp.c
@@ -35,7 +35,7 @@
#include <fcntl.h>
#else
#include <winsock2.h>
-#include <WS2tcpip.h>
+#include <ws2tcpip.h>
#include "getopt/getopt.h"
#endif