logging: include <syslog.h>
Move the inclusion of <syslog.h> from sysincl.h to logging.c to avoid accidentally using the LOG_* constants from the header.
This commit is contained in:
parent
96771d6857
commit
903fa247f8
2 changed files with 4 additions and 4 deletions
|
@ -29,6 +29,8 @@
|
|||
|
||||
#include "sysincl.h"
|
||||
|
||||
#include <syslog.h>
|
||||
|
||||
#include "conf.h"
|
||||
#include "logging.h"
|
||||
#include "util.h"
|
||||
|
|
|
@ -21,9 +21,8 @@
|
|||
|
||||
=======================================================================
|
||||
|
||||
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
|
||||
|
@ -54,7 +53,6 @@
|
|||
#include <sys/un.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/wait.h>
|
||||
#include <syslog.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue