mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-03-25 04:36:33 +00:00
skip bsd-poll.h if poll.h found; ok dtucker
This commit is contained in:
parent
5ee2b8ccfc
commit
c64b62338b
@ -35,7 +35,7 @@
|
|||||||
# include <poll.h>
|
# include <poll.h>
|
||||||
#elif HAVE_SYS_POLL_H
|
#elif HAVE_SYS_POLL_H
|
||||||
# include <sys/poll.h>
|
# include <sys/poll.h>
|
||||||
#endif
|
#else
|
||||||
|
|
||||||
#ifndef HAVE_STRUCT_POLLFD_FD
|
#ifndef HAVE_STRUCT_POLLFD_FD
|
||||||
typedef struct pollfd {
|
typedef struct pollfd {
|
||||||
@ -73,5 +73,5 @@ int poll(struct pollfd *, nfds_t, int);
|
|||||||
#ifndef HAVE_PPOLL
|
#ifndef HAVE_PPOLL
|
||||||
int ppoll(struct pollfd *, nfds_t, const struct timespec *, const sigset_t *);
|
int ppoll(struct pollfd *, nfds_t, const struct timespec *, const sigset_t *);
|
||||||
#endif
|
#endif
|
||||||
|
#endif /* !HAVE_POLL_H && !HAVE_SYS_POLL_H */
|
||||||
#endif /* !_COMPAT_POLL_H_ */
|
#endif /* !_COMPAT_POLL_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user