Skip to content

Commit

Permalink
fix WS2tcpip.h WinSock2.h
Browse files Browse the repository at this point in the history
  • Loading branch information
kekxv committed Oct 30, 2023
1 parent 5075da2 commit 5dbbb6e
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions Example/old_demo/kHttpd_demo.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifdef WIN32

#include <WinSock2.h>
#include <WS2tcpip.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#include <mstcpip.h>
#include <cstdio>

Expand Down
4 changes: 2 additions & 2 deletions old/kHttpd/kHttpd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

#ifdef WIN32

#include <WS2tcpip.h>
#include <WinSock2.h>
#include <ws2tcpip.h>
#include <winsock2.h>
#include <mstcpip.h>
#include <cstdio>

Expand Down
2 changes: 1 addition & 1 deletion old/kHttpd/kHttpd.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#define KPROXYCPP_KPROXY_H

#ifdef WIN32
#include <WinSock2.h>
#include <winsock2.h>
#endif

#ifdef WIN32
Expand Down
4 changes: 2 additions & 2 deletions old/kHttpd/kHttpdClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
//
#ifdef WIN32

#include <WinSock2.h>
#include <WS2tcpip.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#include <mstcpip.h>
#include <cstdio>

Expand Down
4 changes: 2 additions & 2 deletions old/kHttpd/kWebSocketClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

#ifdef WIN32

#include <WinSock2.h>
#include <WS2tcpip.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#include <mstcpip.h>
#include <cstdio>

Expand Down
4 changes: 2 additions & 2 deletions src/CGI/kCGI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#include <cstring>
#include <cstdio>
#ifdef WIN32
#include <WinSock2.h>
#include <WS2tcpip.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#include <mstcpip.h>
#include <stdio.h>
#else
Expand Down
4 changes: 2 additions & 2 deletions src/poll_tool/poll_tool.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@


#ifdef WIN32
#include <WinSock2.h>
#include <WS2tcpip.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#include <mstcpip.h>
#include <cstdio>
#else
Expand Down

0 comments on commit 5dbbb6e

Please sign in to comment.