From e7eec90f387c1d8cde3f6f1e543866a62caaa8a4 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sat, 5 Aug 2006 15:47:26 +1000 Subject: [PATCH] - (dtucker) [openbsd-compat/{bsd-arc4random.c,port-tun.c,xmmap.c}] Lots of #include stdarg.h, needed for log.h. --- ChangeLog | 4 +++- openbsd-compat/bsd-arc4random.c | 2 ++ openbsd-compat/port-tun.c | 1 + openbsd-compat/xmmap.c | 5 +++-- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c3641cff8..8835fec20 100644 --- a/ChangeLog +++ b/ChangeLog @@ -98,6 +98,8 @@ includes for Linux in - (dtucker) [cleanup.c] Need defines.h for __dead. - (dtucker) [auth2-gss.c] We still need the #ifdef GSSAPI in -portable. + - (dtucker) [openbsd-compat/{bsd-arc4random.c,port-tun.c,xmmap.c}] Lots of + #include stdarg.h, needed for log.h. 20060804 - (dtucker) [configure.ac] The "crippled AES" test does not work on recent @@ -5168,4 +5170,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.4460 2006/08/05 05:24:59 dtucker Exp $ +$Id: ChangeLog,v 1.4461 2006/08/05 05:47:26 dtucker Exp $ diff --git a/openbsd-compat/bsd-arc4random.c b/openbsd-compat/bsd-arc4random.c index c1aecfe99..d45fb182a 100644 --- a/openbsd-compat/bsd-arc4random.c +++ b/openbsd-compat/bsd-arc4random.c @@ -17,7 +17,9 @@ #include "includes.h" #include + #include +#include #include "log.h" diff --git a/openbsd-compat/port-tun.c b/openbsd-compat/port-tun.c index 3e73d8c0e..cadc331e1 100644 --- a/openbsd-compat/port-tun.c +++ b/openbsd-compat/port-tun.c @@ -23,6 +23,7 @@ #include #include +#include #include #include diff --git a/openbsd-compat/xmmap.c b/openbsd-compat/xmmap.c index 6a1708e5d..95d5055b5 100644 --- a/openbsd-compat/xmmap.c +++ b/openbsd-compat/xmmap.c @@ -23,7 +23,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* $Id: xmmap.c,v 1.10 2006/07/25 09:52:08 dtucker Exp $ */ +/* $Id: xmmap.c,v 1.11 2006/08/05 05:47:27 dtucker Exp $ */ #include "includes.h" @@ -32,11 +32,12 @@ #include #endif #include + #ifdef HAVE_FCNTL_H # include #endif - #include +#include #include #include