mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 19:55:07 -05:00
refclock: fix build on non-Linux systems
Fixes: 5fd71e27831f ("refclock: add new refclock for RTCs")
This commit is contained in:
committed by
Miroslav Lichvar
parent
4f22883f4e
commit
a90a7cf51c
@@ -26,12 +26,15 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/rtc.h>
|
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "conf.h"
|
|
||||||
#include "refclock.h"
|
#include "refclock.h"
|
||||||
|
|
||||||
|
#ifdef FEAT_RTC
|
||||||
|
|
||||||
|
#include <linux/rtc.h>
|
||||||
|
|
||||||
|
#include "conf.h"
|
||||||
#include "local.h"
|
#include "local.h"
|
||||||
|
|
||||||
#include "logging.h"
|
#include "logging.h"
|
||||||
@@ -40,8 +43,6 @@
|
|||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "rtc_linux.h"
|
#include "rtc_linux.h"
|
||||||
|
|
||||||
#ifdef FEAT_RTC
|
|
||||||
|
|
||||||
struct refrtc_instance {
|
struct refrtc_instance {
|
||||||
int fd;
|
int fd;
|
||||||
int polling;
|
int polling;
|
||||||
|
|||||||
Reference in New Issue
Block a user