use syslog instead of /var/adm/rsyncd.log
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 62c0346..692584a 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -22,7 +22,6 @@
 
 #define RSYNC_NAME "rsync"
 #define RSYNCD_CONF "/etc/rsyncd.conf"
-#define RSYNCD_LOG "/var/adm/rsyncd.log"
 
 #define BACKUP_SUFFIX "~"
 
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <netdb.h>
+#include <syslog.h>
 
 #ifndef S_IFLNK
 #define S_IFLNK  0120000