fixed some build problems

This commit is contained in:
2013-10-21 08:39:53 +00:00
parent f95e8594b8
commit a629a06cdc
9 changed files with 77 additions and 15 deletions

View File

@ -27,6 +27,9 @@
# include <windows.h>
# define USE_SELECT
#elif defined(__OS2__)
# if defined(TCPV40HDRS)
# define BSD_SELECT
# endif
# include <types.h>
# include <sys/socket.h>
# include <netinet/in.h>
@ -34,7 +37,6 @@
# include <nerrno.h>
# if defined(TCPV40HDRS)
# define USE_SELECT
# define BSD_SELECT
# include <sys/select.h>
# else
# include <unistd.h>