summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--platform.c8
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b4211302a..f8e9a9aec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -50,6 +50,7 @@
50 - (dtucker) [regress/kextype.sh] Make sha256 test depend on ECC. This is not 50 - (dtucker) [regress/kextype.sh] Make sha256 test depend on ECC. This is not
51 strictly correct since while ECC requires sha256 the reverse is not true 51 strictly correct since while ECC requires sha256 the reverse is not true
52 however it does prevent spurious test failures. 52 however it does prevent spurious test failures.
53 - (dtucker) [platform.c] Need servconf.h and extern options.
53 54
5420101025 5520101025
55 - (tim) [openbsd-compat/glob.h] Remove sys/cdefs.h include that came with 56 - (tim) [openbsd-compat/glob.h] Remove sys/cdefs.h include that came with
diff --git a/platform.c b/platform.c
index f2cf11f56..0d5b4f1bc 100644
--- a/platform.c
+++ b/platform.c
@@ -1,4 +1,4 @@
1/* $Id: platform.c,v 1.14 2010/11/05 03:47:01 dtucker Exp $ */ 1/* $Id: platform.c,v 1.15 2010/11/05 07:56:08 dtucker Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2006 Darren Tucker. All rights reserved. 4 * Copyright (c) 2006 Darren Tucker. All rights reserved.
@@ -19,13 +19,19 @@
19#include "config.h" 19#include "config.h"
20 20
21#include <sys/types.h> 21#include <sys/types.h>
22
23#include <stdarg.h>
22#include <unistd.h> 24#include <unistd.h>
23 25
26#include "log.h"
27#include "buffer.h"
28#include "servconf.h"
24#include "platform.h" 29#include "platform.h"
25 30
26#include "openbsd-compat/openbsd-compat.h" 31#include "openbsd-compat/openbsd-compat.h"
27 32
28extern int use_privsep; 33extern int use_privsep;
34extern ServerOptions options;
29 35
30void 36void
31platform_pre_listen(void) 37platform_pre_listen(void)