summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-10-26 06:03:25 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-10-26 06:03:25 +0000
commita8ece7e16269f981058182ff04fc670cb01eb168 (patch)
tree46aed9143607e3b0b302c8bd5227488f1b40d594
parentd95344351ce80c265db0ecfbbce569ed70af2842 (diff)
Move the #define _KERNEL wrapping to only cover <sys/file.h>
-rw-r--r--usr.bin/fstat/fuser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/fstat/fuser.c b/usr.bin/fstat/fuser.c
index 96d5db2c66e..4824e33c936 100644
--- a/usr.bin/fstat/fuser.c
+++ b/usr.bin/fstat/fuser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fuser.c,v 1.4 2014/07/10 14:25:29 deraadt Exp $ */
+/* $OpenBSD: fuser.c,v 1.5 2014/10/26 06:03:24 guenther Exp $ */
/*
* Copyright (c) 2009 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -45,8 +45,8 @@
#include <sys/queue.h>
#include <sys/stat.h>
#include <sys/sysctl.h>
-#define _KERNEL /* for DTYPE_VNODE */
#include <sys/ucred.h>
+#define _KERNEL /* for DTYPE_VNODE */
#include <sys/file.h>
#undef _KERNEL