summaryrefslogtreecommitdiffstats
path: root/sys/sys/lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/lock.h')
-rw-r--r--sys/sys/lock.h3
1 files changed, 2 insertions, 1 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
OpenPOWER on IntegriCloud