diff options
author | Darren Tucker <dtucker@zip.com.au> | 2010-11-05 18:56:08 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2010-11-05 18:56:08 +1100 |
commit | 9283d8cbc594419712f09258540253b899d2afd9 (patch) | |
tree | 527769c18ea16430f31063dfc069347f5bedd305 | |
parent | f619d1cad948193e53910ff48bc0b36547fa6d8f (diff) |
- (dtucker) [platform.c] Need servconf.h and extern options.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | platform.c | 8 |
2 files changed, 8 insertions, 1 deletions
@@ -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 | ||
54 | 20101025 | 55 | 20101025 |
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 | ||
28 | extern int use_privsep; | 33 | extern int use_privsep; |
34 | extern ServerOptions options; | ||
29 | 35 | ||
30 | void | 36 | void |
31 | platform_pre_listen(void) | 37 | platform_pre_listen(void) |