summaryrefslogtreecommitdiffstats
path: root/module/splat/splat-rwlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/splat/splat-rwlock.c')
-rw-r--r--module/splat/splat-rwlock.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/splat/splat-rwlock.c b/module/splat/splat-rwlock.c
index 6faf7d24e..6c623792e 100644
--- a/module/splat/splat-rwlock.c
+++ b/module/splat/splat-rwlock.c
@@ -24,9 +24,11 @@
* Solaris Porting LAyer Tests (SPLAT) Read/Writer Lock Tests.
\*****************************************************************************/
+#include <sys/random.h>
#include <sys/rwlock.h>
#include <sys/taskq.h>
-#include <sys/random.h>
+#include <linux/delay.h>
+#include <linux/mm_compat.h>
#include "splat-internal.h"
#define SPLAT_RWLOCK_NAME "rwlock"