X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/64370837e6201342a0f41f84aaf0ce106a8635d0..cca89d7ce589d10a226c6dfa212e36cbcad25fd2:/lib/log.h diff --git a/lib/log.h b/lib/log.h index f1f55d2..bacccb3 100644 --- a/lib/log.h +++ b/lib/log.h @@ -1,6 +1,6 @@ /* * This file is part of DisOrder. - * Copyright (C) 2004, 2005, 2007, 2008 Richard Kettlewell + * Copyright (C) 2004, 2005, 2007-9, 2013 Richard Kettlewell * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -50,7 +50,10 @@ extern void (*exitfn)(int) attribute((noreturn)); extern const char *progname; /* program name */ -extern struct log_output log_stderr, log_syslog, *log_default; +extern struct log_output log_stderr, *log_default; +#if HAVE_SYSLOG_H +extern struct log_output log_syslog; +#endif /* some typical outputs */ extern const char *debug_filename;