summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_qwx_pci.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2024-02-09 14:57:37 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2024-02-09 14:57:37 +0000
commitcf9195aa19f50313ddd9cdd4eb5b2cade8993b58 (patch)
tree1d316deb67e2b7651975851f4faaf93af5ea5b0d /sys/dev/pci/if_qwx_pci.c
parent874ca855a6dd6a2edde39bb85fccbd6da885bc7d (diff)
Include sys/lock.h to make qwx(4) compile with GENERIC kernel.
OK stsp@
Diffstat (limited to 'sys/dev/pci/if_qwx_pci.c')
-rw-r--r--sys/dev/pci/if_qwx_pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_qwx_pci.c b/sys/dev/pci/if_qwx_pci.c
index fd0c20c8b6f..627ef8c44a6 100644
--- a/sys/dev/pci/if_qwx_pci.c
+++ b/sys/dev/pci/if_qwx_pci.c
@@ -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>