mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 15:55:07 -05:00
sys_timex: move inclusion of sys/timex.h to sysincl.h
It will be needed by privops.
This commit is contained in:
@@ -27,8 +27,6 @@
|
|||||||
#ifndef GOT_SYS_TIMEX_H
|
#ifndef GOT_SYS_TIMEX_H
|
||||||
#define GOT_SYS_TIMEX_H
|
#define GOT_SYS_TIMEX_H
|
||||||
|
|
||||||
#include <sys/timex.h>
|
|
||||||
|
|
||||||
#include "localp.h"
|
#include "localp.h"
|
||||||
|
|
||||||
extern void SYS_Timex_Initialise(void);
|
extern void SYS_Timex_Initialise(void);
|
||||||
|
|||||||
@@ -59,6 +59,10 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
#if defined(LINUX) || defined(FREEBSD) || defined(NETBSD) || defined(SOLARIS)
|
||||||
|
#include <sys/timex.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_INTTYPES_H
|
#ifdef HAVE_INTTYPES_H
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#elif HAVE_STDINT_H
|
#elif HAVE_STDINT_H
|
||||||
|
|||||||
Reference in New Issue
Block a user