--- src/main.c.orig Tue May 20 00:52:58 2003 +++ src/main.c Thu Jun 26 15:42:16 2003 @@ -14,6 +14,10 @@ #include #include "cvs.h" +#ifdef SERVER_SUPPORT && HAVE_SYSLOG_H +#include +#include +#endif #ifdef HAVE_WINSOCK_H #include @@ -424,6 +428,11 @@ /* `getopt_long' stores the option index here, but right now we don't use it. */ int option_index = 0; + +#ifdef SERVER_SUPPORT && HAVE_SYSLOG_H + /* fsl identification */ + openlog("cvs", 0, LOG_DAEMON); +#endif #ifdef SYSTEM_INITIALIZE /* Hook for OS-specific behavior, for example socket subsystems on