mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 17:35:06 -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 "conf.h"
|
||||
#include "refclock.h"
|
||||
|
||||
#ifdef FEAT_RTC
|
||||
|
||||
#include <linux/rtc.h>
|
||||
|
||||
#include "conf.h"
|
||||
#include "local.h"
|
||||
|
||||
#include "logging.h"
|
||||
@@ -40,8 +43,6 @@
|
||||
#include "util.h"
|
||||
#include "rtc_linux.h"
|
||||
|
||||
#ifdef FEAT_RTC
|
||||
|
||||
struct refrtc_instance {
|
||||
int fd;
|
||||
int polling;
|
||||
|
||||
Reference in New Issue
Block a user