summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-08-05 15:47:26 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-08-05 15:47:26 +1000
commite7eec90f387c1d8cde3f6f1e543866a62caaa8a4 (patch)
tree3a82f7c9a77c8b72f0bef8c458a26863f9a269b8
parent8c6fedaf22799ac3bfcaad8f6020ec9d5f4d834d (diff)
- (dtucker) [openbsd-compat/{bsd-arc4random.c,port-tun.c,xmmap.c}] Lots of
#include stdarg.h, needed for log.h.
-rw-r--r--ChangeLog4
-rw-r--r--openbsd-compat/bsd-arc4random.c2
-rw-r--r--openbsd-compat/port-tun.c1
-rw-r--r--openbsd-compat/xmmap.c5
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 @@
98 includes for Linux in 98 includes for Linux in
99 - (dtucker) [cleanup.c] Need defines.h for __dead. 99 - (dtucker) [cleanup.c] Need defines.h for __dead.
100 - (dtucker) [auth2-gss.c] We still need the #ifdef GSSAPI in -portable. 100 - (dtucker) [auth2-gss.c] We still need the #ifdef GSSAPI in -portable.
101 - (dtucker) [openbsd-compat/{bsd-arc4random.c,port-tun.c,xmmap.c}] Lots of
102 #include stdarg.h, needed for log.h.
101 103
10220060804 10420060804
103 - (dtucker) [configure.ac] The "crippled AES" test does not work on recent 105 - (dtucker) [configure.ac] The "crippled AES" test does not work on recent
@@ -5168,4 +5170,4 @@
5168 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 5170 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
5169 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 5171 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
5170 5172
5171$Id: ChangeLog,v 1.4460 2006/08/05 05:24:59 dtucker Exp $ 5173$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 @@
17#include "includes.h" 17#include "includes.h"
18 18
19#include <sys/types.h> 19#include <sys/types.h>
20
20#include <string.h> 21#include <string.h>
22#include <stdarg.h>
21 23
22#include "log.h" 24#include "log.h"
23 25
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 @@
23 23
24#include <errno.h> 24#include <errno.h>
25#include <fcntl.h> 25#include <fcntl.h>
26#include <stdarg.h>
26#include <string.h> 27#include <string.h>
27#include <unistd.h> 28#include <unistd.h>
28 29
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 @@
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26/* $Id: xmmap.c,v 1.10 2006/07/25 09:52:08 dtucker Exp $ */ 26/* $Id: xmmap.c,v 1.11 2006/08/05 05:47:27 dtucker Exp $ */
27 27
28#include "includes.h" 28#include "includes.h"
29 29
@@ -32,11 +32,12 @@
32#include <sys/mman.h> 32#include <sys/mman.h>
33#endif 33#endif
34#include <sys/stat.h> 34#include <sys/stat.h>
35
35#ifdef HAVE_FCNTL_H 36#ifdef HAVE_FCNTL_H
36# include <fcntl.h> 37# include <fcntl.h>
37#endif 38#endif
38
39#include <errno.h> 39#include <errno.h>
40#include <stdarg.h>
40#include <string.h> 41#include <string.h>
41#include <unistd.h> 42#include <unistd.h>
42 43