summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2006-08-30 18:26:45 +0000
committerChris Wilson <chris+github@qwirx.com>2006-08-30 18:26:45 +0000
commitf9fbe34b3d409749264bc69497d7e51bf744fbf3 (patch)
treee9e8f645a11071114642a024b0cb7c4c78605178 /bin
parent0d0ad416458a2bf4e04dfa35f549063b381c4e50 (diff)
* bin/bbstored/BackupStoreDaemon.cpp
- Only include <syslog.h> if we have it
Diffstat (limited to 'bin')
-rw-r--r--bin/bbstored/BackupStoreDaemon.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/bbstored/BackupStoreDaemon.cpp b/bin/bbstored/BackupStoreDaemon.cpp
index 2752893a..fc09b624 100644
--- a/bin/bbstored/BackupStoreDaemon.cpp
+++ b/bin/bbstored/BackupStoreDaemon.cpp
@@ -11,9 +11,12 @@
#include <stdlib.h>
#include <stdio.h>
-#include <syslog.h>
#include <signal.h>
+#ifdef HAVE_SYSLOG_H
+ #include <syslog.h>
+#endif
+
#include "BackupContext.h"
#include "BackupStoreDaemon.h"
#include "BackupStoreConfigVerify.h"