- (djm) [auth-pam.c clientloop.c includes.h monitor.c session.c]

[sftp-client.c ssh-keysign.c ssh.c sshconnect.c sshconnect2.c]
   [sshd.c openbsd-compat/bsd-misc.c openbsd-compat/bsd-openpty.c]
   [openbsd-compat/glob.c openbsd-compat/mktemp.c]
   [openbsd-compat/readpassphrase.c] Lots of include fixes for
   OpenSolaris
This commit is contained in:
Damien Miller 2006-03-15 14:42:54 +11:00
parent 34877d2e17
commit 6645e7a70d
17 changed files with 44 additions and 4 deletions

View File

@ -258,6 +258,12 @@
- (djm) [ssh-agent.c] Restore dropped stat.h
- (djm) [openbsd-compat/sha2.h openbsd-compat/sha2.c] Comment out
SHA384, which we don't need and doesn't compile without tweaks
- (djm) [auth-pam.c clientloop.c includes.h monitor.c session.c]
[sftp-client.c ssh-keysign.c ssh.c sshconnect.c sshconnect2.c]
[sshd.c openbsd-compat/bsd-misc.c openbsd-compat/bsd-openpty.c]
[openbsd-compat/glob.c openbsd-compat/mktemp.c]
[openbsd-compat/readpassphrase.c] Lots of include fixes for
OpenSolaris
20060313
- (dtucker) [configure.ac] Bug #1171: Don't use printf("%lld", longlong)
@ -4159,4 +4165,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.4217 2006/03/15 03:37:48 djm Exp $
$Id: ChangeLog,v 1.4218 2006/03/15 03:42:54 djm Exp $

View File

@ -47,7 +47,12 @@
/* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */
#include "includes.h"
RCSID("$Id: auth-pam.c,v 1.128 2006/01/29 05:46:13 dtucker Exp $");
RCSID("$Id: auth-pam.c,v 1.129 2006/03/15 03:42:55 djm Exp $");
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <signal.h>
#ifdef USE_PAM
#if defined(HAVE_SECURITY_PAM_APPL_H)

View File

@ -68,7 +68,9 @@ RCSID("$OpenBSD: clientloop.c,v 1.155 2006/02/22 00:04:44 stevesk Exp $");
#include <sys/ioctl.h>
#include <ctype.h>
#ifdef HAVE_PATHS_H
#include <paths.h>
#endif
#include <signal.h>
#include <termios.h>

View File

@ -103,6 +103,7 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
#include <termios.h>
#ifdef HAVE_SYS_BITYPES_H
# include <sys/bitypes.h> /* For u_intXX_t */
#endif

View File

@ -30,7 +30,9 @@ RCSID("$OpenBSD: monitor.c,v 1.69 2006/03/07 09:07:40 djm Exp $");
#include <sys/types.h>
#include <sys/wait.h>
#ifdef HAVE_PATHS_H
#include <paths.h>
#endif
#include <signal.h>
#ifdef SKEY

View File

@ -16,9 +16,12 @@
*/
#include "includes.h"
#include <signal.h>
#include "xmalloc.h"
RCSID("$Id: bsd-misc.c,v 1.28 2005/11/01 22:07:31 dtucker Exp $");
RCSID("$Id: bsd-misc.c,v 1.29 2006/03/15 03:42:57 djm Exp $");
#ifndef HAVE___PROGNAME
char *__progname;

View File

@ -46,6 +46,8 @@
# include <sys/stropts.h>
#endif
#include <signal.h>
#ifndef O_NOCTTY
#define O_NOCTTY 0
#endif

View File

@ -34,6 +34,9 @@
/* OPENBSD ORIGINAL: lib/libc/gen/glob.c */
#include "includes.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <ctype.h>
static long

View File

@ -35,6 +35,10 @@
#include "includes.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <ctype.h>
#if !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP)
static int _gettemp(char *, int *, int, int);

View File

@ -27,6 +27,8 @@
#ifndef HAVE_READPASSPHRASE
#include <termios.h>
#include <signal.h>
#include <ctype.h>
#include <readpassphrase.h>
#ifdef TCSASOFT

View File

@ -42,7 +42,9 @@ RCSID("$OpenBSD: session.c,v 1.197 2006/02/28 01:10:21 djm Exp $");
#include <sys/wait.h>
#include <sys/un.h>
#ifdef HAVE_PATHS_H
#include <paths.h>
#endif
#include <signal.h>
#include "ssh.h"

View File

@ -26,6 +26,7 @@ RCSID("$OpenBSD: sftp-client.c,v 1.60 2006/02/20 17:19:54 stevesk Exp $");
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
# include <signal.h>
#include "openbsd-compat/sys-queue.h"

View File

@ -24,7 +24,9 @@
#include "includes.h"
RCSID("$OpenBSD: ssh-keysign.c,v 1.20 2006/02/08 12:15:27 stevesk Exp $");
#ifdef HAVE_PATHS_H
#include <paths.h>
#endif
#include <openssl/evp.h>
#include <openssl/rand.h>

2
ssh.c
View File

@ -51,7 +51,9 @@ RCSID("$OpenBSD: ssh.c,v 1.266 2006/03/12 04:23:07 djm Exp $");
#include <sys/un.h>
#include <ctype.h>
#ifdef HAVE_PATHS_H
#include <paths.h>
#endif
#include <signal.h>
#include <openssl/evp.h>

View File

@ -20,7 +20,9 @@ RCSID("$OpenBSD: sshconnect.c,v 1.176 2006/02/22 00:04:45 stevesk Exp $");
#include <sys/stat.h>
#include <ctype.h>
#ifdef HAVE_PATHS_H
#include <paths.h>
#endif
#include "ssh.h"
#include "xmalloc.h"

View File

@ -27,7 +27,6 @@ RCSID("$OpenBSD: sshconnect2.c,v 1.147 2006/03/07 09:07:40 djm Exp $");
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/queue.h>
#include <sys/stat.h>
#include "openbsd-compat/sys-queue.h"

2
sshd.c
View File

@ -51,7 +51,9 @@ RCSID("$OpenBSD: sshd.c,v 1.325 2006/03/13 08:16:00 djm Exp $");
#include <sys/ioctl.h>
#include <sys/wait.h>
#ifdef HAVE_PATHS_H
#include <paths.h>
#endif
#include <signal.h>
#include <openssl/dh.h>