[Box Backup-dev] COMMIT r827 - box/chris/merge/bin/bbstored
boxbackup-dev@fluffy.co.uk
boxbackup-dev@fluffy.co.uk
Wed, 30 Aug 2006 19:26:45 +0100
Author: chris
Date: 2006-08-30 19:26:45 +0100 (Wed, 30 Aug 2006)
New Revision: 827
Modified:
box/chris/merge/bin/bbstored/BackupStoreDaemon.cpp
Log:
* bin/bbstored/BackupStoreDaemon.cpp
- Only include <syslog.h> if we have it
Modified: box/chris/merge/bin/bbstored/BackupStoreDaemon.cpp
===================================================================
--- box/chris/merge/bin/bbstored/BackupStoreDaemon.cpp 2006-08-30 18:26:11 UTC (rev 826)
+++ box/chris/merge/bin/bbstored/BackupStoreDaemon.cpp 2006-08-30 18:26:45 UTC (rev 827)
@@ -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"