summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorVitaliy Makkoveev <mvs@cvs.openbsd.org>2021-11-11 18:37:00 +0000
committerVitaliy Makkoveev <mvs@cvs.openbsd.org>2021-11-11 18:37:00 +0000
commita48bf2688d504bcc59d4475189cce51705493f3a (patch)
tree0dbe6bc5e26c69da82eec4e1c8971cf976006f66 /sys
parent63133a5098f29b03c7e694178b32509cbfa3766d (diff)
Fix GENERIC kernel compilation.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/uipc_usrreq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c
index 0c5cbd1cdd3..d819f43d3f6 100644
--- a/sys/kern/uipc_usrreq.c
+++ b/sys/kern/uipc_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_usrreq.c,v 1.155 2021/11/11 17:20:02 mvs Exp $ */
+/* $OpenBSD: uipc_usrreq.c,v 1.156 2021/11/11 18:36:59 mvs Exp $ */
/* $NetBSD: uipc_usrreq.c,v 1.18 1996/02/09 19:00:50 christos Exp $ */
/*
@@ -54,6 +54,7 @@
#include <sys/rwlock.h>
#include <sys/mutex.h>
#include <sys/sysctl.h>
+#include <sys/lock.h>
/*
* Locks used to protect global data and struct members: