summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/arch/nt32/crt_glue.c1
-rw-r--r--src/arch/nt64/crt_glue.c1
2 files changed, 2 insertions, 0 deletions
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;