[core] add include sys/poll.h on Solaris (fixes #2859)

x-ref:
  "fdevent_solaris_port.c header missing on Solaris 10"
  https://redmine.lighttpd.net/issues/2859
personal/stbuehler/fix-fdevent
Glenn Strauss 2018-01-22 19:54:15 -05:00
parent 58a1793964
commit 978a3f8dad
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@
#ifdef FDEVENT_USE_SOLARIS_PORT
#include <sys/poll.h>
static const int SOLARIS_PORT_POLL_READ = POLLIN;
static const int SOLARIS_PORT_POLL_WRITE = POLLOUT;
static const int SOLARIS_PORT_POLL_READ_WRITE = POLLIN & POLLOUT;