summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--freebsd/kern/init_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/freebsd/kern/init_main.c b/freebsd/kern/init_main.c
index 292e00a7..7ba9a44f 100644
--- a/freebsd/kern/init_main.c
+++ b/freebsd/kern/init_main.c
@@ -104,7 +104,9 @@ void mi_startup(void); /* Should be elsewhere */
static struct session session0;
static struct pgrp pgrp0;
struct proc proc0;
+#endif /* __rtems__ */
struct thread thread0 __aligned(16);
+#ifndef __rtems__
struct vmspace vmspace0;
struct proc *initproc;