Skip to content

Commit

Permalink
Changed the order of winsock2 and windows includes. Wrong onder cause…
Browse files Browse the repository at this point in the history
…d compilation errors under Windows
  • Loading branch information
zsaskovy committed Nov 28, 2019
1 parent 7b6fcec commit 290bb03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simavr/sim/sim_network.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ extern "C" {

// Windows with MinGW

#include <windows.h>
#include <winsock2.h>
#include <windows.h>
#include <ws2tcpip.h>

#define send(sockfd, buf, len, flags) \
Expand Down

0 comments on commit 290bb03

Please sign in to comment.