Include sys/lock.h to make qwx(4) compile with GENERIC kernel.
authorbluhm <bluhm@openbsd.org>
Fri, 9 Feb 2024 14:57:36 +0000 (14:57 +0000)
committerbluhm <bluhm@openbsd.org>
Fri, 9 Feb 2024 14:57:36 +0000 (14:57 +0000)
OK stsp@

sys/dev/pci/if_qwx_pci.c

index fd0c20c..627ef8c 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: if_qwx_pci.c,v 1.7 2024/02/09 11:24:52 stsp Exp $     */
+/*     $OpenBSD: if_qwx_pci.c,v 1.8 2024/02/09 14:57:36 bluhm Exp $    */
 
 /*
  * Copyright 2023 Stefan Sperling <stsp@openbsd.org>
@@ -56,6 +56,7 @@
 #include <sys/sockio.h>
 #include <sys/mbuf.h>
 #include <sys/kernel.h>
+#include <sys/lock.h>
 #include <sys/socket.h>
 #include <sys/systm.h>
 #include <sys/malloc.h>