diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-07-05 10:25:43 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-07-05 10:25:43 +0000 |
commit | 409a3f64ac594a93770f9b640941772787fa745c (patch) | |
tree | 42a7daabd74d6f6b7fc987cada81bdc08a0d2015 /gdb/event-loop.c | |
parent | a5cb8284bfabd5fd447b6f08c92987538bf8d731 (diff) | |
download | gdb-409a3f64ac594a93770f9b640941772787fa745c.zip gdb-409a3f64ac594a93770f9b640941772787fa745c.tar.gz gdb-409a3f64ac594a93770f9b640941772787fa745c.tar.bz2 |
Check for <sys/poll.h>.
Diffstat (limited to 'gdb/event-loop.c')
-rw-r--r-- | gdb/event-loop.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/event-loop.c b/gdb/event-loop.c index 6a66ff0..21b606d 100644 --- a/gdb/event-loop.c +++ b/gdb/event-loop.c @@ -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> |