Commit b3bc17fa authored by Michael Smith's avatar Michael Smith

Fix compilation errors on non-windows platforms.

svn path=/trunk/net/; revision=4133
parent f7ee1580
...@@ -41,8 +41,8 @@ ...@@ -41,8 +41,8 @@
#define vsnprintf _vsnprintf #define vsnprintf _vsnprintf
#define EINPROGRESS WSAEINPROGRESS #define EINPROGRESS WSAEINPROGRESS
#define ENOTSOCK WSAENOTSOCK #define ENOTSOCK WSAENOTSOCK
#define EWOULDBLOCK WSAEWOULDBLOCK #define EWOULDBLOCK WSAEWOULDBLOCK
#define EALREADY WSAEALREADY #define EALREADY WSAEALREADY
#define socklen_t int #define socklen_t int
#endif #endif
......
...@@ -25,11 +25,10 @@ ...@@ -25,11 +25,10 @@
#ifdef _WIN32 #ifdef _WIN32
#include <winsock2.h> #include <winsock2.h>
#include <os.h>
#else #else
#include <unistd.h> #include <unistd.h>
#endif #endif
#include <os.h>
#ifdef HAVE_SYS_UIO_H #ifdef HAVE_SYS_UIO_H
#include <sys/uio.h> #include <sys/uio.h>
......
Markdown is supported
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