Skip to content

Commit

Permalink
Another Windows fix now that the internal compiler error is gone
Browse files Browse the repository at this point in the history
  • Loading branch information
snej committed Sep 7, 2023
1 parent 08235a4 commit d5edd69
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/test_io.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@
#include "tests.hh"
#include "HTTPParser.hh"
#include "NWConnection.hh"
#include <sys/socket.h> // for AF_INET

#if defined(_WIN32)
# include <winsock2.h>
# include <ws2tcpip.h>
#else
# include <sys/socket.h>
#endif

using namespace std;
using namespace crouton;
Expand Down

0 comments on commit d5edd69

Please sign in to comment.