* configure.ac (AC_CHECK_HEADERS): Remove poll.h and sys/poll.h.
* pathtrace.c: Include <poll.h> unconditionally.
* stream.c: Likewise.
[HAVE_SYS_POLL_H]: Compile unconditionally.
[!HAVE_SYS_POLL_H]: Remove.
linux/utsname.h
mqueue.h
netinet/sctp.h
- poll.h
scsi/sg.h
stropts.h
sys/conf.h
sys/epoll.h
sys/fanotify.h
sys/ioctl.h
- sys/poll.h
sys/reg.h
sys/vfs.h
sys/xattr.h
#include "defs.h"
#include <sys/param.h>
-#if defined HAVE_POLL_H
-# include <poll.h>
-#elif defined HAVE_SYS_POLL_H
-# include <sys/poll.h>
-#endif
+#include <poll.h>
#include "syscall.h"
*/
#include "defs.h"
-#if defined HAVE_POLL_H
-# include <poll.h>
-#elif defined HAVE_SYS_POLL_H
-# include <sys/poll.h>
-#endif
+#include <poll.h>
#ifdef HAVE_SYS_CONF_H
# include <sys/conf.h>
#endif
#endif /* STREAMS syscalls support */
-#ifdef HAVE_SYS_POLL_H
-
#include "xlat/pollflags.h"
static int
}
return rc;
}
-
-#else /* !HAVE_SYS_POLL_H */
-SYS_FUNC(poll)
-{
- return 0;
-}
-#endif