include lock.h, needed for later headers but currently included by magic
authortedu <tedu@openbsd.org>
Tue, 16 Dec 2014 03:21:10 +0000 (03:21 +0000)
committertedu <tedu@openbsd.org>
Tue, 16 Dec 2014 03:21:10 +0000 (03:21 +0000)
ok millert

lib/libkvm/kvm_cd9660.c
lib/libkvm/kvm_udf.c

index 8e4566c..e9018e0 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: kvm_cd9660.c,v 1.5 2013/11/16 00:37:11 guenther Exp $ */
+/*     $OpenBSD: kvm_cd9660.c,v 1.6 2014/12/16 03:21:10 tedu Exp $     */
 
 /*
  * Copyright (c) 2009 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -21,6 +21,7 @@
 #define _KERNEL
 #include <sys/mount.h>
 #undef _KERNEL
+#include <sys/lock.h>
 #include <sys/vnode.h>
 #include <sys/sysctl.h>
 
index 5496c0d..7302035 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: kvm_udf.c,v 1.8 2014/11/18 12:41:16 dlg Exp $ */
+/*     $OpenBSD: kvm_udf.c,v 1.9 2014/12/16 03:21:10 tedu Exp $        */
 
 /*
  * Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org>
@@ -31,6 +31,7 @@
 #define _KERNEL
 #include <sys/mount.h>
 #undef _KERNEL
+#include <sys/lock.h>
 #include <sys/vnode.h>
 #include <sys/sysctl.h>
 #include <sys/specdev.h>