Check for <sys/poll.h>.

This commit is contained in:
Andrew Cagney 2000-07-05 10:25:43 +00:00
parent a5cb8284bf
commit 409a3f64ac
5 changed files with 215 additions and 194 deletions

View file

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