Move the inclusion of <syslog.h> from sysincl.h to logging.c to avoid
accidentally using the LOG_* constants from the header.
#include "sysincl.h"
+#include <syslog.h>
+
#include "conf.h"
#include "logging.h"
#include "util.h"
=======================================================================
- This file includes all system header files that the software
- requires. This allows us to isolate system dependencies to this file
- alone.
+ This file includes most system header files that the software
+ requires to better isolate system dependencies.
*/
#ifndef GOT_SYSINCL_H
#include <sys/un.h>
#include <sys/shm.h>
#include <sys/wait.h>
-#include <syslog.h>
#include <time.h>
#include <unistd.h>