summaryrefslogtreecommitdiff
path: root/lib/libkvm
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-12-16 03:21:11 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-12-16 03:21:11 +0000
commit55cae922b40d88415b828bcd71c174b190499167 (patch)
tree86224f5a8360244e4a88b065404be627a83c3d27 /lib/libkvm
parent80e3fae0bde469cf50a4aee8d4a759884c30e3e5 (diff)
include lock.h, needed for later headers but currently included by magic
ok millert
Diffstat (limited to 'lib/libkvm')
-rw-r--r--lib/libkvm/kvm_cd9660.c3
-rw-r--r--lib/libkvm/kvm_udf.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libkvm/kvm_cd9660.c b/lib/libkvm/kvm_cd9660.c
index 8e4566cda9d..e9018e01546 100644
--- a/lib/libkvm/kvm_cd9660.c
+++ b/lib/libkvm/kvm_cd9660.c
@@ -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>
diff --git a/lib/libkvm/kvm_udf.c b/lib/libkvm/kvm_udf.c
index 5496c0d64b4..730203512c8 100644
--- a/lib/libkvm/kvm_udf.c
+++ b/lib/libkvm/kvm_udf.c
@@ -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>