From 7a043f619a91fbb998863c08e3e5e94a4747b11d Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Mon, 28 Nov 2016 23:07:36 +0100 Subject: [PATCH] Fix improper header includes When building with the musl C library, a number of warnings indicate that sysklogd is directly including headers that are considered internal to the C library: - Instead of including , should be included. - Instead of including , should be included. - Instead of includeing , should be included. Signed-off-by: Thomas Petazzoni --- klogd.c | 2 +- ksym_mod.c | 2 +- syslog.c | 2 +- syslogd.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/klogd.c b/klogd.c index 6cc80ed..a173353 100644 --- a/klogd.c +++ b/klogd.c @@ -260,7 +260,7 @@ #include #include #include -#include +#include #include #if !defined(__GLIBC__) #include diff --git a/ksym_mod.c b/ksym_mod.c index 68cd6b6..2e69d65 100644 --- a/ksym_mod.c +++ b/ksym_mod.c @@ -113,7 +113,7 @@ #include #include #include -#include +#include #include #include "module.h" #if !defined(__GLIBC__) diff --git a/syslog.c b/syslog.c index bdb3ff2..f96b43c 100644 --- a/syslog.c +++ b/syslog.c @@ -55,7 +55,7 @@ static char sccsid[] = "@(#)syslog.c 5.28 (Berkeley) 6/27/90"; #include #include #include -#include +#include #include #if 0 #include "syslog.h" diff --git a/syslogd.c b/syslogd.c index ace96c8..b5e8054 100644 --- a/syslogd.c +++ b/syslogd.c @@ -521,7 +521,7 @@ static char sccsid[] = "@(#)syslogd.c 5.27 (Berkeley) 10/10/88"; #define SYSLOG_NAMES #include #include -#include +#include #include #include #include -- 2.7.4