- Some older systems don't have poll.h, they use sys/poll.h instead

- Doc updates
This commit is contained in:
Damien Miller 1999-12-14 15:43:03 +11:00
parent 36b339a906
commit 6ae00d6c96
5 changed files with 25 additions and 3 deletions

View File

@ -17,6 +17,8 @@
- [version.h]
OpenSSH-1.2.1
- Clean up broken includes in pty.c
- Some older systems don't have poll.h, they use sys/poll.h instead
- Doc updates
19991211
- Fix compilation on systems with AFS. Reported by

11
INSTALL
View File

@ -113,6 +113,17 @@ To generate a host key, issue the following command: (replacing
/usr/bin/ssh-keygen -b 1024 -f /etc/ssh/ssh_host_key -N ''
Replacing /etc/ssh with the correct path to the configuration directory.
(${prefix}/etc or whatever you specified with --sysconfdir during
configuration)
For more information on configuration, please refer to the manual pages
for sshd, ssh and ssh-agent.
4. Problems?
------------
If you experience problems compiling, installing or running OpenSSH.
Please refer to the "reporting bugs" section of the webpage at
http://violet.ibs.com.au/openssh/

3
README
View File

@ -37,6 +37,9 @@ openssh-unix-dev-request@mindrot.org. This mailing list is intended
for developers who wish to improve on this port or extend it to other
Unices.
Please send bug reports to the mailing list, or to myself
(djm@ibs.com.au).
Please refer to the INSTALL document for information on how to install
OpenSSH on your system.

View File

@ -56,7 +56,7 @@ AC_CHECK_LIB(dl, dlopen, , )
AC_CHECK_LIB(pam, pam_authenticate, , )
dnl Checks for header files.
AC_CHECK_HEADERS(endian.h lastlog.h login.h maillock.h netgroup.h paths.h pty.h shadow.h util.h utmp.h utmpx.h sys/select.h sys/stropts.h sys/time.h)
AC_CHECK_HEADERS(endian.h lastlog.h login.h maillock.h netgroup.h paths.h poll.h pty.h shadow.h util.h utmp.h utmpx.h sys/poll.h sys/select.h sys/stropts.h sys/time.h)
dnl Checks for library functions.
AC_CHECK_FUNCS(arc4random mkdtemp openpty _getpty setenv setlogin setproctitle snprintf strlcat strlcpy vsnprintf)

10
sshd.c
View File

@ -11,9 +11,15 @@
*/
#include "includes.h"
RCSID("$Id: sshd.c,v 1.38 1999/12/13 23:47:16 damien Exp $");
RCSID("$Id: sshd.c,v 1.39 1999/12/14 04:43:03 damien Exp $");
#include <poll.h>
#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"