Include poll.h and friends for struct pollfd.
This commit is contained in:
parent
a9e2c53319
commit
397c4d72e5
|
@ -37,6 +37,13 @@
|
|||
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
#ifdef HAVE_POLL_H
|
||||
#include <poll.h>
|
||||
#else
|
||||
# ifdef HAVE_SYS_POLL_H
|
||||
# include <sys/poll.h>
|
||||
# endif
|
||||
#endif
|
||||
#include <fcntl.h>
|
||||
#include <signal.h>
|
||||
#include <stdarg.h>
|
||||
|
|
Loading…
Reference in New Issue