diff options
-rw-r--r-- | sys/sys/mutex.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sys/mutex.h b/sys/sys/mutex.h index ca81f74..4d3a9d5 100644 --- a/sys/sys/mutex.h +++ b/sys/sys/mutex.h @@ -41,6 +41,10 @@ #include <machine/bus.h> #include <machine/cpufunc.h> #include <machine/globals.h> +#ifndef curproc +struct proc; +extern struct proc *curproc; +#endif #endif /* _KERNEL_ */ #endif /* !LOCORE */ |