1
0
mirror of https://gitlab.xiph.org/xiph/icecast-common.git synced 2024-11-03 04:17:20 -05:00

win32 port updates to recent changes

svn path=/trunk/net/; revision=4117
This commit is contained in:
oddsock 2002-11-23 15:55:27 +00:00
parent 614bf95a68
commit dd6dba9d4e
2 changed files with 8 additions and 3 deletions

View File

@ -41,7 +41,9 @@
#define vsnprintf _vsnprintf
#define EINPROGRESS WSAEINPROGRESS
#define ENOTSOCK WSAENOTSOCK
#define EWOULDBLOCK WSAEWOULDBLOCK
#define EWOULDBLOCK WSAEWOULDBLOCK
#define EALREADY WSAEALREADY
#define socklen_t int
#endif
#include "sock.h"

View File

@ -22,11 +22,14 @@
#ifndef __SOCK_H
#define __SOCK_H
#include <unistd.h>
#ifdef _WIN32
#include <winsock2.h>
#endif
#else
#include <unistd.h>
#endif
#include <os.h>
#ifdef HAVE_SYS_UIO_H
#include <sys/uio.h>