chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cope with various header files being missing.
[disorder]
/
lib
/
log.h
diff --git
a/lib/log.h
b/lib/log.h
index f1f55d2cce3dcb5c43dabcfe267ae93db0ff524b..bacccb386292909daf92b6f73832f728f2f0ac84 100644
(file)
--- a/
lib/log.h
+++ b/
lib/log.h
@@
-1,6
+1,6
@@
/*
* This file is part of DisOrder.
/*
* 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
*
* 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 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;
/* some typical outputs */
extern const char *debug_filename;