include <sys/select.h> if available (fixes #264, #275)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@720 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.6
Jan Kneschke 2005-09-20 15:57:48 +00:00
parent 0d8585137f
commit c8a9649287
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,9 @@
# include <winsock2.h>
# endif
# define USE_SELECT
# ifdef HAVE_SYS_SELECT_H
# include <sys/select.h>
# endif
#endif
#if defined HAVE_SYS_DEVPOLL_H && defined(__sun)