Check for <sys/poll.h>.
This commit is contained in:
parent
a5cb8284bf
commit
409a3f64ac
5 changed files with 215 additions and 194 deletions
|
@ -1,3 +1,10 @@
|
|||
Wed Jul 5 20:09:41 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* event-loop.c: Include either <poll.h> or <sys/poll.h>.
|
||||
|
||||
* configure.in (targ_archs): Check for <poll.h> and <sys/poll.h>.
|
||||
* configure, config.in: Re-generate.
|
||||
|
||||
Wed Jul 5 18:10:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
From 2000-06-12 Bill Nottingham <notting@redhat.com>:
|
||||
|
|
|
@ -255,6 +255,9 @@
|
|||
/* Define if you have the <objlist.h> header file. */
|
||||
#undef HAVE_OBJLIST_H
|
||||
|
||||
/* Define if you have the <poll.h> header file. */
|
||||
#undef HAVE_POLL_H
|
||||
|
||||
/* Define if you have the <proc_service.h> header file. */
|
||||
#undef HAVE_PROC_SERVICE_H
|
||||
|
||||
|
@ -291,6 +294,9 @@
|
|||
/* Define if you have the <sys/param.h> header file. */
|
||||
#undef HAVE_SYS_PARAM_H
|
||||
|
||||
/* Define if you have the <sys/poll.h> header file. */
|
||||
#undef HAVE_SYS_POLL_H
|
||||
|
||||
/* Define if you have the <sys/procfs.h> header file. */
|
||||
#undef HAVE_SYS_PROCFS_H
|
||||
|
||||
|
|
387
gdb/configure
vendored
387
gdb/configure
vendored
File diff suppressed because it is too large
Load diff
|
@ -123,7 +123,8 @@ AC_CHECK_HEADERS(ctype.h endian.h link.h thread_db.h proc_service.h \
|
|||
wchar.h wctype.h asm/debugreg.h sys/debugreg.h sys/select.h \
|
||||
time.h sys/ioctl.h sys/user.h \
|
||||
dirent.h sys/ndir.h sys/dir.h ndir.h \
|
||||
curses.h ncurses.h)
|
||||
curses.h ncurses.h \
|
||||
poll.h sys/poll.h)
|
||||
AC_HEADER_STAT
|
||||
|
||||
AC_C_CONST
|
||||
|
|
|
@ -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…
Reference in a new issue