summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--loginrec.c1
-rw-r--r--openbsd-compat/bindresvport.c2
-rw-r--r--openbsd-compat/glob.c2
-rw-r--r--openbsd-compat/mktemp.c2
-rw-r--r--openbsd-compat/port-tun.c1
-rw-r--r--openbsd-compat/readpassphrase.c1
-rw-r--r--openbsd-compat/strtonum.c1
8 files changed, 14 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index eff2102d..4f585990 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -55,7 +55,9 @@
will allow port forwarding by all users except "anoncvs".
Currently only a very small subset of directives are supported.
ok djm@
- - (dtucker) [openbsd-compat/xmmap.c] Include <errno.h>.
+ - (dtucker) [loginrec.c openbsd-compat/xmmap.c openbsd-compat/bindresvport.c
+ openbsd-compat/glob.c openbsd-compat/mktemp.c openbsd-compat/port-tun.c
+ openbsd-compat/readpassphrase.c openbsd-compat/strtonum.c] Include <errno.h>.
20060711
- (dtucker) [configure.ac ssh-keygen.c openbsd-compat/bsd-openpty.c
@@ -4905,4 +4907,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.4401 2006/07/12 12:35:51 dtucker Exp $
+$Id: ChangeLog,v 1.4402 2006/07/12 12:40:50 dtucker Exp $
diff --git a/loginrec.c b/loginrec.c
index a27a3ae6..8299b79e 100644
--- a/loginrec.c
+++ b/loginrec.c
@@ -153,6 +153,7 @@
#include <netinet/in.h>
+#include <errno.h>
#include <fcntl.h>
#include <pwd.h>
diff --git a/openbsd-compat/bindresvport.c b/openbsd-compat/bindresvport.c
index 7f48fd03..2c16233c 100644
--- a/openbsd-compat/bindresvport.c
+++ b/openbsd-compat/bindresvport.c
@@ -36,6 +36,8 @@
#include "includes.h"
+#include <errno.h>
+
#define STARTPORT 600
#define ENDPORT (IPPORT_RESERVED - 1)
#define NPORTS (ENDPORT - STARTPORT + 1)
diff --git a/openbsd-compat/glob.c b/openbsd-compat/glob.c
index 439d2f50..bba4c097 100644
--- a/openbsd-compat/glob.c
+++ b/openbsd-compat/glob.c
@@ -34,10 +34,12 @@
/* OPENBSD ORIGINAL: lib/libc/gen/glob.c */
#include "includes.h"
+
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <ctype.h>
+#include <errno.h>
#include <pwd.h>
static long
diff --git a/openbsd-compat/mktemp.c b/openbsd-compat/mktemp.c
index 75a33915..b8b0793a 100644
--- a/openbsd-compat/mktemp.c
+++ b/openbsd-compat/mktemp.c
@@ -37,8 +37,10 @@
#include <sys/types.h>
#include <sys/stat.h>
+
#include <fcntl.h>
#include <ctype.h>
+#include <errno.h>
#if !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP)
diff --git a/openbsd-compat/port-tun.c b/openbsd-compat/port-tun.c
index bee6b160..9806eec7 100644
--- a/openbsd-compat/port-tun.c
+++ b/openbsd-compat/port-tun.c
@@ -21,6 +21,7 @@
#include <netinet/in.h>
#include <netinet/ip.h>
+#include <errno.h>
#include <fcntl.h>
#include "log.h"
diff --git a/openbsd-compat/readpassphrase.c b/openbsd-compat/readpassphrase.c
index 95c0af81..fd9731ac 100644
--- a/openbsd-compat/readpassphrase.c
+++ b/openbsd-compat/readpassphrase.c
@@ -31,6 +31,7 @@
#include <ctype.h>
#include <fcntl.h>
#include <readpassphrase.h>
+#include <errno.h>
#ifdef TCSASOFT
# define _T_FLUSH (TCSAFLUSH|TCSASOFT)
diff --git a/openbsd-compat/strtonum.c b/openbsd-compat/strtonum.c
index 8ad0d005..35c5c18b 100644
--- a/openbsd-compat/strtonum.c
+++ b/openbsd-compat/strtonum.c
@@ -22,6 +22,7 @@
#include "includes.h"
#ifndef HAVE_STRTONUM
#include <limits.h>
+#include <errno.h>
#define INVALID 1
#define TOOSMALL 2