[openssh-commits] [openssh] 01/01: Include poll.h and friends for struct pollfd.
git+noreply at mindrot.org
git+noreply at mindrot.org
Sat Aug 7 11:32:32 AEST 2021
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 397c4d72e50023af5fe3aee5cc2ad407a6eb1073
Author: Darren Tucker <dtucker at dtucker.net>
Date: Sat Aug 7 11:30:57 2021 +1000
Include poll.h and friends for struct pollfd.
---
sftp-client.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/sftp-client.c b/sftp-client.c
index 963ad2cc..0cfc1f0d 100644
--- a/sftp-client.c
+++ b/sftp-client.c
@@ -37,6 +37,13 @@
#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>
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list