Skip to content
Snippets Groups Projects
Commit e5e2d66d authored by Wesley W. Terpstra's avatar Wesley W. Terpstra
Browse files

Fix a windows port breakage

parent be48f11e
Branches
Tags
No related merge requests found
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include <winsock2.h> #include <winsock2.h>
#include <ws2tcpip.h> #include <ws2tcpip.h>
#include <sys/time.h> #include <sys/time.h>
#include "../etherbone.h"
typedef int socklen_t; typedef int socklen_t;
typedef SOCKET eb_posix_sock_t; typedef SOCKET eb_posix_sock_t;
#else #else
...@@ -45,11 +46,8 @@ typedef SOCKET eb_posix_sock_t; ...@@ -45,11 +46,8 @@ typedef SOCKET eb_posix_sock_t;
#include <netinet/in.h> #include <netinet/in.h>
#include <netdb.h> #include <netdb.h>
#include <unistd.h> #include <unistd.h>
#endif
#include "../etherbone.h"
typedef eb_descriptor_t eb_posix_sock_t; typedef eb_descriptor_t eb_posix_sock_t;
#endif
#if defined(MSG_DONTWAIT) #if defined(MSG_DONTWAIT)
#define EB_POSIX_IP_NON_BLOCKING_NOOP #define EB_POSIX_IP_NON_BLOCKING_NOOP
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment