From f2265d5dff73eec1c155bc0e605fa53bfae53f66 Mon Sep 17 00:00:00 2001 From: dtucker Date: Sat, 5 Aug 2006 05:47:26 +0000 Subject: [PATCH] - (dtucker) [openbsd-compat/{bsd-arc4random.c,port-tun.c,xmmap.c}] Lots of #include stdarg.h, needed for log.h. --- ChangeLog | 2 ++ openbsd-compat/bsd-arc4random.c | 2 ++ openbsd-compat/port-tun.c | 1 + openbsd-compat/xmmap.c | 3 ++- 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9ea4cb11..6ea94398 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 diff --git a/openbsd-compat/bsd-arc4random.c b/openbsd-compat/bsd-arc4random.c index c1aecfe9..d45fb182 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 3e73d8c0..cadc331e 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 69649c54..54c02be3 100644 --- a/openbsd-compat/xmmap.c +++ b/openbsd-compat/xmmap.c @@ -32,11 +32,12 @@ #include #endif #include + #ifdef HAVE_FCNTL_H # include #endif - #include +#include #include #include -- 2.45.2