Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Commit

Permalink
Shuffle windows headers included
Browse files Browse the repository at this point in the history
  • Loading branch information
ckolivas committed Apr 14, 2014
1 parent 083e361 commit 55e0ebe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion util.c
Expand Up @@ -33,7 +33,6 @@
# include <netinet/tcp.h>
# include <netdb.h>
#else
# include <windows.h>
# include <winsock2.h>
# include <ws2tcpip.h>
# include <mmsystem.h>
Expand Down
2 changes: 1 addition & 1 deletion util.h
Expand Up @@ -29,8 +29,8 @@
return (errno == EINTR);
}
#elif defined WIN32
#include <ws2tcpip.h>
#include <winsock2.h>
#include <ws2tcpip.h>

#define SOCKETTYPE SOCKET
#define SOCKETFAIL(a) ((int)(a) == SOCKET_ERROR)
Expand Down

0 comments on commit 55e0ebe

Please sign in to comment.