diff options
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: log.c,v 1.37 2006/08/01 23:22:47 stevesk Exp $ */ | 1 | /* $OpenBSD: log.c,v 1.38 2006/08/03 03:34:42 deraadt Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -36,6 +36,8 @@ | |||
36 | 36 | ||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | 38 | ||
39 | #include <sys/types.h> | ||
40 | |||
39 | #include <stdarg.h> | 41 | #include <stdarg.h> |
40 | #include <stdio.h> | 42 | #include <stdio.h> |
41 | #include <stdlib.h> | 43 | #include <stdlib.h> |
@@ -46,8 +48,8 @@ | |||
46 | # include <vis.h> | 48 | # include <vis.h> |
47 | #endif | 49 | #endif |
48 | 50 | ||
49 | #include "log.h" | ||
50 | #include "xmalloc.h" | 51 | #include "xmalloc.h" |
52 | #include "log.h" | ||
51 | 53 | ||
52 | static LogLevel log_level = SYSLOG_LEVEL_INFO; | 54 | static LogLevel log_level = SYSLOG_LEVEL_INFO; |
53 | static int log_on_stderr = 1; | 55 | static int log_on_stderr = 1; |