Winsock compile fix.

This commit is contained in:
Jan Vidar Krey 2010-01-27 17:48:16 +01:00
parent 7a8a737cad
commit 41418f21e7

View File

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