summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--includes.h2
-rw-r--r--monitor.c1
-rw-r--r--openbsd-compat/bindresvport.c4
-rw-r--r--openbsd-compat/rresvport.c5
5 files changed, 16 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index ebf308975..c00df6884 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,12 +8,15 @@
8 [md5crypt.c monitor.c monitor_wrap.c readconf.c rsa.c] 8 [md5crypt.c monitor.c monitor_wrap.c readconf.c rsa.c]
9 [scard-opensc.c scard.c session.c ssh-add.c ssh-agent.c ssh-dss.c] 9 [scard-opensc.c scard.c session.c ssh-add.c ssh-agent.c ssh-dss.c]
10 [ssh-keygen.c ssh-keysign.c ssh-rsa.c ssh.c sshconnect.c] 10 [ssh-keygen.c ssh-keysign.c ssh-rsa.c ssh.c sshconnect.c]
11 [sshconnect1.c sshconnect2.c sshd.c rc4.diff] 11 [sshconnect1.c sshconnect2.c sshd.c]
12 [openbsd-compat/bsd-cray.c openbsd-compat/port-aix.c] 12 [openbsd-compat/bsd-cray.c openbsd-compat/port-aix.c]
13 [openbsd-compat/port-linux.c openbsd-compat/port-solaris.c] 13 [openbsd-compat/port-linux.c openbsd-compat/port-solaris.c]
14 [openbsd-compat/port-uw.c] 14 [openbsd-compat/port-uw.c]
15 Lots of headers for SCO OSR6, mainly adding stdarg.h for log.h; 15 Lots of headers for SCO OSR6, mainly adding stdarg.h for log.h;
16 compile problems reported by rac AT tenzing.org 16 compile problems reported by rac AT tenzing.org
17 - (djm) [includes.h monitor.c openbsd-compat/bindresvport.c]
18 [openbsd-compat/rresvport.c] Some more headers: netinet/in.h
19 sys/socket.h and unistd.h in various places
17 20
1820060831 2120060831
19 - (djm) [CREDITS LICENCE Makefile.in auth.c configure.ac includes.h ] 22 - (djm) [CREDITS LICENCE Makefile.in auth.c configure.ac includes.h ]
@@ -5365,4 +5368,4 @@
5365 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 5368 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
5366 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 5369 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
5367 5370
5368$Id: ChangeLog,v 1.4521 2006/09/01 05:38:36 djm Exp $ 5371$Id: ChangeLog,v 1.4522 2006/09/01 05:48:19 djm Exp $
diff --git a/includes.h b/includes.h
index 03665a3d3..2101f13c9 100644
--- a/includes.h
+++ b/includes.h
@@ -21,6 +21,7 @@
21#define _GNU_SOURCE /* activate extra prototypes for glibc */ 21#define _GNU_SOURCE /* activate extra prototypes for glibc */
22 22
23#include <sys/types.h> 23#include <sys/types.h>
24#include <sys/socket.h> /* For CMSG_* */
24 25
25#ifdef HAVE_LIMITS_H 26#ifdef HAVE_LIMITS_H
26# include <limits.h> /* For PATH_MAX */ 27# include <limits.h> /* For PATH_MAX */
@@ -106,6 +107,7 @@
106#include <sys/ptms.h> /* for grantpt() and friends */ 107#include <sys/ptms.h> /* for grantpt() and friends */
107#endif 108#endif
108 109
110#include <netinet/in.h>
109#include <netinet/in_systm.h> /* For typedefs */ 111#include <netinet/in_systm.h> /* For typedefs */
110#ifdef HAVE_RPC_TYPES_H 112#ifdef HAVE_RPC_TYPES_H
111# include <rpc/types.h> /* For INADDR_LOOPBACK */ 113# include <rpc/types.h> /* For INADDR_LOOPBACK */
diff --git a/monitor.c b/monitor.c
index b3ccde017..364bd2316 100644
--- a/monitor.c
+++ b/monitor.c
@@ -43,6 +43,7 @@
43#include <stdarg.h> 43#include <stdarg.h>
44#include <stdlib.h> 44#include <stdlib.h>
45#include <string.h> 45#include <string.h>
46#include <unistd.h>
46 47
47#ifdef SKEY 48#ifdef SKEY
48#include <skey.h> 49#include <skey.h>
diff --git a/openbsd-compat/bindresvport.c b/openbsd-compat/bindresvport.c
index ef0eff3b6..e8fb83f23 100644
--- a/openbsd-compat/bindresvport.c
+++ b/openbsd-compat/bindresvport.c
@@ -33,8 +33,10 @@
33#include "includes.h" 33#include "includes.h"
34 34
35#ifndef HAVE_BINDRESVPORT_SA 35#ifndef HAVE_BINDRESVPORT_SA
36#include <sys/types.h>
37#include <sys/socket.h>
36 38
37#include "includes.h" 39#include <netinet/in.h>
38 40
39#include <errno.h> 41#include <errno.h>
40#include <string.h> 42#include <string.h>
diff --git a/openbsd-compat/rresvport.c b/openbsd-compat/rresvport.c
index 15790e852..17e66ca59 100644
--- a/openbsd-compat/rresvport.c
+++ b/openbsd-compat/rresvport.c
@@ -35,6 +35,11 @@
35 35
36#ifndef HAVE_RRESVPORT_AF 36#ifndef HAVE_RRESVPORT_AF
37 37
38#include <sys/types.h>
39#include <sys/socket.h>
40
41#include <netinet/in.h>
42
38#include <errno.h> 43#include <errno.h>
39#include <stdlib.h> 44#include <stdlib.h>
40#include <string.h> 45#include <string.h>