From: Miroslav Lichvar Date: Thu, 10 Dec 2015 09:53:45 +0000 (+0100) Subject: sys_timex: move inclusion of sys/timex.h to sysincl.h X-Git-Tag: 2.3-pre1~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5bc4e92e6253000ffdcb5a63d4fdeaf58a5bbd1;p=thirdparty%2Fchrony.git sys_timex: move inclusion of sys/timex.h to sysincl.h It will be needed by privops. --- diff --git a/sys_timex.h b/sys_timex.h index c15b16c6..b8617a25 100644 --- a/sys_timex.h +++ b/sys_timex.h @@ -27,8 +27,6 @@ #ifndef GOT_SYS_TIMEX_H #define GOT_SYS_TIMEX_H -#include - #include "localp.h" extern void SYS_Timex_Initialise(void); diff --git a/sysincl.h b/sysincl.h index 2132f826..1caf5869 100644 --- a/sysincl.h +++ b/sysincl.h @@ -59,6 +59,10 @@ #include #include +#if defined(LINUX) || defined(FREEBSD) || defined(NETBSD) || defined(SOLARIS) +#include +#endif + #ifdef HAVE_INTTYPES_H #include #elif HAVE_STDINT_H