summaryrefslogtreecommitdiff
path: root/lib/libkvm
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2010-07-17 19:27:08 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2010-07-17 19:27:08 +0000
commit841649915e7ad589d081ed14451370004f722469 (patch)
tree4431306db6e6cf9dede5777dd9314ed7af635e1d /lib/libkvm
parent9fb3fcf821f4b4419269a60ba91d0dc3f277513f (diff)
Move some macros in <msdosfs/denode.h> to outside the #ifdef _KERNEL
so that libkvm doesn't need to define that, thereby avoiding some warnings. ok miod@
Diffstat (limited to 'lib/libkvm')
-rw-r--r--lib/libkvm/kvm_file2.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libkvm/kvm_file2.c b/lib/libkvm/kvm_file2.c
index 2af3d7702fa..c7dc886f93e 100644
--- a/lib/libkvm/kvm_file2.c
+++ b/lib/libkvm/kvm_file2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_file2.c,v 1.15 2010/06/29 16:39:23 guenther Exp $ */
+/* $OpenBSD: kvm_file2.c,v 1.16 2010/07/17 19:27:07 guenther Exp $ */
/*
* Copyright (c) 2009 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -90,9 +90,7 @@
#include <nnpfs/nnpfs_node.h>
#include <msdosfs/bpb.h>
-#define _KERNEL
#include <msdosfs/denode.h>
-#undef _KERNEL
#include <msdosfs/msdosfsmount.h>
#include <miscfs/specfs/specdev.h>