Winsock compile fix.
This commit is contained in:
parent
7a8a737cad
commit
41418f21e7
@ -118,8 +118,10 @@
|
|||||||
|
|
||||||
#ifndef HAVE_BACKEND
|
#ifndef HAVE_BACKEND
|
||||||
#define USE_SELECT
|
#define USE_SELECT
|
||||||
|
#ifndef WINSOCK
|
||||||
#include <sys/select.h>
|
#include <sys/select.h>
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__sun__)
|
#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__sun__)
|
||||||
#undef HAVE_STRNDUP
|
#undef HAVE_STRNDUP
|
||||||
|
Loading…
Reference in New Issue
Block a user