[Box Backup-dev] COMMIT r844 - box/chris/retry-debug/bin/bbstored

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Thu, 31 Aug 2006 09:13:39 +0100


Author: chris
Date: 2006-08-31 09:13:39 +0100 (Thu, 31 Aug 2006)
New Revision: 844

Modified:
   box/chris/retry-debug/bin/bbstored/BackupStoreDaemon.cpp
Log:
* bin/bbstored/BackupStoreDaemon.cpp
- Only include <syslog.h> if we have it


Modified: box/chris/retry-debug/bin/bbstored/BackupStoreDaemon.cpp
===================================================================
--- box/chris/retry-debug/bin/bbstored/BackupStoreDaemon.cpp	2006-08-31 08:12:47 UTC (rev 843)
+++ box/chris/retry-debug/bin/bbstored/BackupStoreDaemon.cpp	2006-08-31 08:13:39 UTC (rev 844)
@@ -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"