summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-12-14 15:43:03 +1100
committerDamien Miller <djm@mindrot.org>1999-12-14 15:43:03 +1100
commit6ae00d6c965e61fc394b8adb698e9d8c603bbe75 (patch)
treec363afb089cfcd48d65d23a22a69b36c34b17eda /sshd.c
parent36b339a9064e1848728d82c0c75ca3e87c60b3ae (diff)
downloadopenssh-git-6ae00d6c965e61fc394b8adb698e9d8c603bbe75.tar.gz
- Some older systems don't have poll.h, they use sys/poll.h instead
- Doc updates
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/sshd.c b/sshd.c
index 3e9ff907..448ca596 100644
--- a/sshd.c
+++ b/sshd.c
@@ -11,9 +11,15 @@
*/
#include "includes.h"
-RCSID("$Id: sshd.c,v 1.38 1999/12/13 23:47:16 damien Exp $");
-
-#include <poll.h>
+RCSID("$Id: sshd.c,v 1.39 1999/12/14 04:43:03 damien Exp $");
+
+#ifdef HAVE_POLL_H
+# include <poll.h>
+#else /* HAVE_POLL_H */
+# ifdef HAVE_SYS_POLL_H
+# include <sys/poll.h>
+# endif /* HAVE_SYS_POLL_H */
+#endif /* HAVE_POLL_H */
#include "xmalloc.h"
#include "rsa.h"