diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/lock.h | 3 | ||||
-rw-r--r-- | sys/sys/lockmgr.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/sys/lock.h b/sys/sys/lock.h index 47afdb2..a797a72 100644 --- a/sys/sys/lock.h +++ b/sys/sys/lock.h @@ -41,9 +41,10 @@ #ifndef _LOCK_H_ #define _LOCK_H_ -#include <sys/mutex.h> #include <machine/lock.h> +struct mtx; + /* * The general lock structure. Provides for multiple shared locks, * upgrading from shared to exclusive, and sleeping until the lock diff --git a/sys/sys/lockmgr.h b/sys/sys/lockmgr.h index 47afdb2..a797a72 100644 --- a/sys/sys/lockmgr.h +++ b/sys/sys/lockmgr.h @@ -41,9 +41,10 @@ #ifndef _LOCK_H_ #define _LOCK_H_ -#include <sys/mutex.h> #include <machine/lock.h> +struct mtx; + /* * The general lock structure. Provides for multiple shared locks, * upgrading from shared to exclusive, and sleeping until the lock |