summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--freebsd/sys/sys/proc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/freebsd/sys/sys/proc.h b/freebsd/sys/sys/proc.h
index 5605ef13..84a1b4a2 100644
--- a/freebsd/sys/sys/proc.h
+++ b/freebsd/sys/sys/proc.h
@@ -201,6 +201,9 @@ struct rusage_ext {
* This is what is put to sleep and reactivated.
* Thread context. Processes may have multiple threads.
*/
+#ifdef __rtems__
+#include <rtems/chain.h>
+#endif /* __rtems__ */
struct thread {
#ifdef __rtems__
rtems_chain_node td_node;