summaryrefslogtreecommitdiff
path: root/sys/dev/pci/qle.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2014-02-19 15:13:15 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2014-02-19 15:13:15 +0000
commit90876584e092205c87b000e7c8526629870538ba (patch)
tree74138a7976d4a2aa64b0c2dc1dcac0d752cebdb4 /sys/dev/pci/qle.c
parent38e580baba0cca19fb3c875a1f5937e7d58038b4 (diff)
Unbreak the tree; include <machine/atomic.h> instead of relying on something
else bringing it in. Found out the hard way by florian@
Diffstat (limited to 'sys/dev/pci/qle.c')
-rw-r--r--sys/dev/pci/qle.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/qle.c b/sys/dev/pci/qle.c
index e0a58d9f425..685b2af3f8e 100644
--- a/sys/dev/pci/qle.c
+++ b/sys/dev/pci/qle.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: qle.c,v 1.10 2014/02/19 08:01:20 dlg Exp $ */
+/* $OpenBSD: qle.c,v 1.11 2014/02/19 15:13:14 kettenis Exp $ */
/*
* Copyright (c) 2013, 2014 Jonathan Matthew <jmatthew@openbsd.org>
@@ -27,6 +27,7 @@
#include <sys/rwlock.h>
#include <sys/task.h>
+#include <machine/atomic.h>
#include <machine/bus.h>
#include <dev/pci/pcireg.h>