diff --git a/openbsd-compat/bsd-poll.h b/openbsd-compat/bsd-poll.h index 586647ee1..db365af22 100644 --- a/openbsd-compat/bsd-poll.h +++ b/openbsd-compat/bsd-poll.h @@ -35,7 +35,7 @@ # include #elif HAVE_SYS_POLL_H # include -#endif +#else #ifndef HAVE_STRUCT_POLLFD_FD typedef struct pollfd { @@ -73,5 +73,5 @@ int poll(struct pollfd *, nfds_t, int); #ifndef HAVE_PPOLL int ppoll(struct pollfd *, nfds_t, const struct timespec *, const sigset_t *); #endif - +#endif /* !HAVE_POLL_H && !HAVE_SYS_POLL_H */ #endif /* !_COMPAT_POLL_H_ */