summaryrefslogtreecommitdiffstats
path: root/emulators/rtc/files/rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/rtc/files/rtc.c')
-rw-r--r--emulators/rtc/files/rtc.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/emulators/rtc/files/rtc.c b/emulators/rtc/files/rtc.c
index 9eb6a90..b78ae87 100644
--- a/emulators/rtc/files/rtc.c
+++ b/emulators/rtc/files/rtc.c
@@ -97,7 +97,12 @@ static struct cdevsw rtc_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
- /* bmaj */ -1
+#if __FreeBSD_version <= 500018
+ /* bmaj */ -1,
+#endif
+#if __FreeBSD_version >= 500018 || __FreeBSD_version >= 430000
+ /* kqfilter */ nokqfilter,
+#endif
};
/*
OpenPOWER on IntegriCloud