diff options
Diffstat (limited to 'crypto/openssh/openbsd-compat/bsd-poll.h')
| -rw-r--r-- | crypto/openssh/openbsd-compat/bsd-poll.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/openssh/openbsd-compat/bsd-poll.h b/crypto/openssh/openbsd-compat/bsd-poll.h index 67fd8c66f803..bebd5d87d05a 100644 --- a/crypto/openssh/openbsd-compat/bsd-poll.h +++ b/crypto/openssh/openbsd-compat/bsd-poll.h @@ -72,7 +72,11 @@ typedef struct pollfd { #endif /* !HAVE_STRUCT_POLLFD_FD */ #ifndef HAVE_NFDS_T +# ifdef POLL_NFDS_T_ULONG +typedef unsigned long nfds_t; +# else typedef unsigned int nfds_t; +# endif #endif #ifndef HAVE_POLL |
