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 @@
#define vsnprintf _vsnprintf
#define EINPROGRESS WSAEINPROGRESS
#define ENOTSOCK WSAENOTSOCK
#define EWOULDBLOCK WSAEWOULDBLOCK
#define EALREADY WSAEALREADY
#define EWOULDBLOCK WSAEWOULDBLOCK
#define EALREADY WSAEALREADY
#define socklen_t int
#endif
......
......@@ -25,11 +25,10 @@
#ifdef _WIN32
#include <winsock2.h>
#include <os.h>
#else
#include <unistd.h>
#endif
#include <os.h>
#include <unistd.h>
#endif
#ifdef HAVE_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