]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Include poll.h and friends for struct pollfd.
authorDarren Tucker <dtucker@dtucker.net>
Sat, 7 Aug 2021 01:30:57 +0000 (11:30 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Sat, 7 Aug 2021 01:30:57 +0000 (11:30 +1000)
sftp-client.c

index 963ad2cce8a2a6665723a6851a9852e9d77c3397..0cfc1f0d9cd100e1d814fff1b335a7a79b71d1d3 100644 (file)
 
 #include <dirent.h>
 #include <errno.h>
+#ifdef HAVE_POLL_H
+#include <poll.h>
+#else
+# ifdef HAVE_SYS_POLL_H
+#  include <sys/poll.h>
+# endif
+#endif
 #include <fcntl.h>
 #include <signal.h>
 #include <stdarg.h>