summaryrefslogtreecommitdiffstats
path: root/include/spl/sys/rwlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/spl/sys/rwlock.h')
-rw-r--r--include/spl/sys/rwlock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/spl/sys/rwlock.h b/include/spl/sys/rwlock.h
index b44ceab66..088e28b44 100644
--- a/include/spl/sys/rwlock.h
+++ b/include/spl/sys/rwlock.h
@@ -27,6 +27,7 @@
#include <sys/types.h>
#include <linux/rwsem.h>
+#include <linux/sched.h>
/* Linux kernel compatibility */
#if defined(CONFIG_PREEMPT_RT_FULL)