Include <sys/mutex.h> directly instead of relying on other headers to
authormpi <mpi@openbsd.org>
Mon, 19 Feb 2018 09:18:00 +0000 (09:18 +0000)
committermpi <mpi@openbsd.org>
Mon, 19 Feb 2018 09:18:00 +0000 (09:18 +0000)
include it.

sys/kern/kern_lock.c

index 6529df4..2d79db0 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: kern_lock.c,v 1.58 2018/02/19 09:08:13 jsg Exp $      */
+/*     $OpenBSD: kern_lock.c,v 1.59 2018/02/19 09:18:00 mpi Exp $      */
 
 /*
  * Copyright (c) 2017 Visa Hankala
@@ -23,6 +23,7 @@
 #include <sys/sched.h>
 #include <sys/atomic.h>
 #include <sys/witness.h>
+#include <sys/mutex.h>
 
 #include <ddb/db_output.h>