aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2020-07-26 18:33:29 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2020-07-26 18:33:29 +0000
commit85d787b2fefc1a53280009680523ccbb09211b9d (patch)
treea5bae071398951b88e3f2789983815d8767457a5 /sys/compat/linuxkpi/common/include
parent825240034e019236c352f48d7651bd060e296400 (diff)
downloadsrc-85d787b2fefc1a53280009680523ccbb09211b9d.tar.gz
src-85d787b2fefc1a53280009680523ccbb09211b9d.zip
Fix r363565
lockdep.h needs sys/lock.h for LOCK_CLASS
Notes
Notes: svn path=/head/; revision=363575
Diffstat (limited to 'sys/compat/linuxkpi/common/include')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/lockdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/lockdep.h b/sys/compat/linuxkpi/common/include/linux/lockdep.h
index d3e3d04db9ee..d2b3d4485dde 100644
--- a/sys/compat/linuxkpi/common/include/linux/lockdep.h
+++ b/sys/compat/linuxkpi/common/include/linux/lockdep.h
@@ -32,6 +32,8 @@
#ifndef _LINUX_LOCKDEP_H_
#define _LINUX_LOCKDEP_H_
+#include <sys/lock.h>
+
struct lock_class_key {
};