Skip to content

Commit

Permalink
Merge pull request #36 from sidaf/fix_windows
Browse files Browse the repository at this point in the history
Cross-compile Windows Fix
  • Loading branch information
lganzzzo authored Apr 27, 2022
2 parents f49d144 + 04b15b1 commit d95c8ee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/oatpp-websocket/AsyncWebSocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "./Utils.hpp"

#if defined(WIN32) || defined(_WIN32)
#include <WinSock2.h>
#include <winsock2.h>
#else
#include <arpa/inet.h>
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/oatpp-websocket/SHA1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <fstream>

#if defined(WIN32) || defined(_WIN32)
#include <WinSock2.h>
#include <winsock2.h>
#else
#include <arpa/inet.h>
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/oatpp-websocket/WebSocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "./Utils.hpp"

#if defined(WIN32) || defined(_WIN32)
#include <WinSock2.h>
#include <winsock2.h>
#else
#include <arpa/inet.h>
#endif
Expand Down

0 comments on commit d95c8ee

Please sign in to comment.