Fix GENERIC kernel compilation.
authormvs <mvs@openbsd.org>
Thu, 11 Nov 2021 18:36:59 +0000 (18:36 +0000)
committermvs <mvs@openbsd.org>
Thu, 11 Nov 2021 18:36:59 +0000 (18:36 +0000)
sys/kern/uipc_usrreq.c

index 0c5cbd1..d819f43 100644 (file)
@@ -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: