make linking of thread-start with explicit scheduling conditional
[musl] / src / linux / sysinfo.c
index 7e64f33..4b5a798 100644 (file)
@@ -1,7 +1,10 @@
 #include <sys/sysinfo.h>
 #include "syscall.h"
+#include "libc.h"
 
-int sysinfo(struct sysinfo *info)
+int __lsysinfo(struct sysinfo *info)
 {
        return syscall(SYS_sysinfo, info);
 }
+
+weak_alias(__lsysinfo, sysinfo);