1
0
mirror of https://gitlab.xiph.org/xiph/icecast-common.git synced 2024-12-04 14:46:31 -05: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 dd6dba9d4e
commit 524480687e
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>