diff options
author | Damien Miller <djm@mindrot.org> | 1999-12-14 15:43:03 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-12-14 15:43:03 +1100 |
commit | 6ae00d6c965e61fc394b8adb698e9d8c603bbe75 (patch) | |
tree | c363afb089cfcd48d65d23a22a69b36c34b17eda /sshd.c | |
parent | 36b339a9064e1848728d82c0c75ca3e87c60b3ae (diff) | |
download | openssh-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.c | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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" |