1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-22 04:15:54 -04:00

Fix compilation errors on non-windows platforms.

svn path=/trunk/net/; revision=4133
This commit is contained in:
Michael Smith 2002-12-01 02:11:07 +00:00
parent f7ee1580ce
commit b3bc17fa73
2 changed files with 5 additions and 6 deletions

View File

@ -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

View File

@ -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>