diff options
Diffstat (limited to 'freebsd/sys/sys/_lockmgr.h')
-rw-r--r-- | freebsd/sys/sys/_lockmgr.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/freebsd/sys/sys/_lockmgr.h b/freebsd/sys/sys/_lockmgr.h index 62e50df1..8e9ac276 100644 --- a/freebsd/sys/sys/_lockmgr.h +++ b/freebsd/sys/sys/_lockmgr.h @@ -34,7 +34,9 @@ #define _SYS__LOCKMGR_H_ #ifdef DEBUG_LOCKS +#ifndef __rtems__ #include <sys/_stack.h> +#endif /* __rtems__ */ #endif struct lock { @@ -44,7 +46,11 @@ struct lock { int lk_timo; int lk_pri; #ifdef DEBUG_LOCKS +#ifndef __rtems__ struct stack lk_stack; +#else /* __rtems__ */ + void* lk_stack; +#endif /* __rtems__ */ #endif }; |