[Box Backup-dev] COMMIT r856 - box/trunk/bin/bbstored

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


Author: chris
Date: 2006-08-31 09:42:51 +0100 (Thu, 31 Aug 2006)
New Revision: 856

Modified:
   box/trunk/bin/bbstored/BBStoreDHousekeeping.cpp
Log:
* bin/bbstored/BBStoreDHousekeeping.cpp
- Only include syslog.h if we have one


Modified: box/trunk/bin/bbstored/BBStoreDHousekeeping.cpp
===================================================================
--- box/trunk/bin/bbstored/BBStoreDHousekeeping.cpp	2006-08-31 08:42:30 UTC (rev 855)
+++ box/trunk/bin/bbstored/BBStoreDHousekeeping.cpp	2006-08-31 08:42:51 UTC (rev 856)
@@ -10,8 +10,11 @@
 #include "Box.h"
 
 #include <stdio.h>
-#include <syslog.h>
 
+#ifdef HAVE_SYSLOG_H
+	#include <syslog.h>
+#endif
+
 #include "BackupStoreDaemon.h"
 #include "BackupStoreAccountDatabase.h"
 #include "BackupStoreAccounts.h"