Check for <sys/poll.h>.
This commit is contained in:
parent
a5cb8284bf
commit
409a3f64ac
5 changed files with 215 additions and 194 deletions
|
@ -23,9 +23,15 @@
|
|||
#include "top.h"
|
||||
#include "event-loop.h"
|
||||
#include "event-top.h"
|
||||
|
||||
#ifdef HAVE_POLL
|
||||
#if defined (HAVE_POLL_H)
|
||||
#include <poll.h>
|
||||
#elif defined (HAVE_SYS_POLL_H)
|
||||
#include <sys/poll.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue