Some prehistoric versions of the syslog program don't support facility
codes.  This patch defines LOG_DAEMON to be zero in case it isn't defined.
This enables cvs 1.11.1p1 to build on vax-dec-ultrix4.3.

Dave
-- 
J. David Anglin                                  [EMAIL PROTECTED]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

2002-01-02  John David Anglin  <[EMAIL PROTECTED]>

        * server.c (LOG_DAEMON): Define if undefined.

--- server.c.orig       Thu Apr 19 15:34:04 2001
+++ server.c    Wed Jan  2 15:19:00 2002
@@ -60,6 +60,9 @@
 
 #ifdef HAVE_SYSLOG_H
 #include <syslog.h>
+#ifndef LOG_DAEMON
+#define LOG_DAEMON 0
+#endif
 #endif
 
 #ifdef HAVE_KERBEROS

_______________________________________________
Bug-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-cvs

Reply via email to