From: Miroslav Lichvar Date: Wed, 23 Oct 2019 15:23:35 +0000 (+0200) Subject: logging: include X-Git-Tag: 4.0-pre1~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=903fa247f8ac80a5503cea1f1fff7c7b1068f1de;p=thirdparty%2Fchrony.git logging: include Move the inclusion of from sysincl.h to logging.c to avoid accidentally using the LOG_* constants from the header. --- diff --git a/logging.c b/logging.c index 1993ab72..9da14faa 100644 --- a/logging.c +++ b/logging.c @@ -29,6 +29,8 @@ #include "sysincl.h" +#include + #include "conf.h" #include "logging.h" #include "util.h" diff --git a/sysincl.h b/sysincl.h index 296c5e68..b27afa07 100644 --- a/sysincl.h +++ b/sysincl.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 #include #include -#include #include #include