diff options
Diffstat (limited to 'loader/ldt_keeper.c')
-rw-r--r-- | loader/ldt_keeper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/loader/ldt_keeper.c b/loader/ldt_keeper.c index c1a909eacf..4cd4d78d20 100644 --- a/loader/ldt_keeper.c +++ b/loader/ldt_keeper.c @@ -199,6 +199,7 @@ void Setup_LDT_Keeper(void) #endif /* __NetBSD__ || __FreeBSD__ || __OpenBSD__ */ #if defined(__svr4__) + { struct ssd ssd; ssd.sel = TEB_SEL; ssd.bo = array.base_addr; @@ -211,6 +212,7 @@ void Setup_LDT_Keeper(void) perror("sysi86(SI86DSCR)"); printf("Couldn't install fs segment, expect segfault\n"); } + } #endif Setup_FS_Segment(); |