summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2015-02-09 13:38:51 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2015-02-09 13:38:51 +0000
commit0396671c5bd6faa74c83164f2db31571c78ce4d0 (patch)
tree927d430c3f9d99efa3d510ee82ba7006dd079d8a /sys/kern
parent4295ed0d2302cb914248740ab41390662edf5528 (diff)
you need atomic.h to do atomic things.
pointed out by deraadt@
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/subr_autoconf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/subr_autoconf.c b/sys/kern/subr_autoconf.c
index 04378697eaa..96178d8ea67 100644
--- a/sys/kern/subr_autoconf.c
+++ b/sys/kern/subr_autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_autoconf.c,v 1.85 2015/02/09 12:37:18 dlg Exp $ */
+/* $OpenBSD: subr_autoconf.c,v 1.86 2015/02/09 13:38:50 dlg Exp $ */
/* $NetBSD: subr_autoconf.c,v 1.21 1996/04/04 06:06:18 cgd Exp $ */
/*
@@ -51,6 +51,7 @@
#include <sys/systm.h>
#include <sys/queue.h>
#include <sys/mutex.h>
+#include <sys/atomic.h>
#include "hotplug.h"
#include "mpath.h"