summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-12-16 21:25:29 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-12-16 21:25:29 +0000
commit72eb0ddd3a04d24ad4c6e01aa97824fb9f949afe (patch)
tree6d01b3188a7d1276984883f23da758881ea5ee1c /sys
parent9de1ec23f03f1493416a5f362fef6e1d49cce9ad (diff)
must include lock.h to play with locks
Diffstat (limited to 'sys')
-rw-r--r--sys/compat/common/compat_dir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/common/compat_dir.c b/sys/compat/common/compat_dir.c
index d84e7e4c830..76b8772645f 100644
--- a/sys/compat/common/compat_dir.c
+++ b/sys/compat/common/compat_dir.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: compat_dir.c,v 1.10 2014/09/14 14:17:23 jsg Exp $ */
+/* $OpenBSD: compat_dir.c,v 1.11 2014/12/16 21:25:28 tedu Exp $ */
/*
* Copyright (c) 2000 Constantine Sapuntzakis
@@ -35,6 +35,7 @@
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/vnode.h>
+#include <sys/lock.h>
#include <sys/dirent.h>
#include <compat/common/compat_dir.h>