diff --git a/src/arch/nt32/crt_glue.c b/src/arch/nt32/crt_glue.c index 6fd9919..16eaba9 100644 --- a/src/arch/nt32/crt_glue.c +++ b/src/arch/nt32/crt_glue.c @@ -46,6 +46,7 @@ void __init_tls (size_t * auxv) T.pt.self = &T.pt; T.pt.locale = &libc.global_locale; + T.pt.sysinfo = __sysinfo; T.pt.detach_state = DT_JOINABLE; T.pt.locale = &libc.global_locale; diff --git a/src/arch/nt64/crt_glue.c b/src/arch/nt64/crt_glue.c index 6fd9919..16eaba9 100644 --- a/src/arch/nt64/crt_glue.c +++ b/src/arch/nt64/crt_glue.c @@ -46,6 +46,7 @@ void __init_tls (size_t * auxv) T.pt.self = &T.pt; T.pt.locale = &libc.global_locale; + T.pt.sysinfo = __sysinfo; T.pt.detach_state = DT_JOINABLE; T.pt.locale = &libc.global_locale;