Browse Source

[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 3 years ago
parent
commit
978a3f8dad
  1. 1
      src/fdevent_solaris_port.c

1
src/fdevent_solaris_port.c

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

Loading…
Cancel
Save