Minor, let logger use local version of syslog.h

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2019-12-09 16:44:49 +01:00
parent e0c2d3ad0d
commit 91c54466fd

View File

@ -37,11 +37,12 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#define SYSLOG_NAMES
#include <syslog.h>
#include <unistd.h> #include <unistd.h>
#include <sys/stat.h> #include <sys/stat.h>
#define SYSLOG_NAMES
#include "compat.h" #include "compat.h"
#include "syslog.h"
static const char version_info[] = PACKAGE_NAME " v" PACKAGE_VERSION; static const char version_info[] = PACKAGE_NAME " v" PACKAGE_VERSION;
static struct syslog_data log = SYSLOG_DATA_INIT; static struct syslog_data log = SYSLOG_DATA_INIT;