summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2012-10-08 15:43:09 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2012-10-08 15:43:09 +0000
commit94ebc472f707c947052aa3dff9e6638bde390a86 (patch)
treea3868d8cdb7b7e9a169af362efcd18f4e58dab32 /sys
parent5b2a45ea0d47f6fee606b25f02c4295e6eb9a225 (diff)
Protect vnode.h from multiple inclusions.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/vnode.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index 0fa0982149e..0fadb10fd70 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vnode.h,v 1.112 2012/08/23 06:12:49 deraadt Exp $ */
+/* $OpenBSD: vnode.h,v 1.113 2012/10/08 15:43:08 jsing Exp $ */
/* $NetBSD: vnode.h,v 1.38 1996/02/29 20:59:05 cgd Exp $ */
/*
@@ -32,6 +32,9 @@
* @(#)vnode.h 8.11 (Berkeley) 11/21/94
*/
+#ifndef _SYS_VNODE_H_
+#define _SYS_VNODE_H_
+
#include <sys/buf.h>
#include <sys/types.h>
#include <sys/queue.h>
@@ -666,3 +669,4 @@ int softdep_fsync(struct vnode *);
int getvnode(struct filedesc *, int, struct file **);
#endif /* _KERNEL */
+#endif /* _SYS_VNODE_H_ */