rsync.h always including syslog.h even when not used.

jw schultz jw at pegasys.ws
Sun Oct 12 14:08:55 EST 2003


On Sat, Oct 11, 2003 at 11:21:19PM -0400, John E. Malmberg wrote:
> Hello,
> 
> rsync.h is always including the syslog.h file, even though it is only 
> used when the LOG_DAEMON macro is defined.
> 
> Could someone change it to be as follows:
> 
> #ifdef LOG_DAEMON
> #include <syslog.h>
> #endif

Won't work.  LOG_DAEMON is defined in syslog.h.

> 
> OpenVMS currently does not have a syslog facility, so it does not have a 
> syslog.h.

If you don't have a syslog facility i'd expect you to be
getting link errors.


-- 
________________________________________________________________
	J.W. Schultz            Pegasystems Technologies
	email address:		jw at pegasys.ws

		Remember Cernan and Schmitt



More information about the rsync mailing list