summaryrefslogtreecommitdiff
path: root/libbcachefs/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/clock.c')
-rw-r--r--libbcachefs/clock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbcachefs/clock.c b/libbcachefs/clock.c
index 3c3649f0..68ac62b4 100644
--- a/libbcachefs/clock.c
+++ b/libbcachefs/clock.c
@@ -3,6 +3,7 @@
#include <linux/freezer.h>
#include <linux/kthread.h>
+#include <linux/preempt.h>
static inline bool io_timer_cmp(struct io_timer *l, struct io_timer *r)
{