Fix compile with musl libc
Steven Honeyman
stevenhoneyman at gmail.com
Sun Sep 28 13:44:58 UTC 2014
Using the latest git sources for musl libc and strace, there's just
one thing missing preventing it from working "out of the box".
To fix this. would it be possible to add the sys/sysinfo.h header in, as below:
--- a/strace-4.9/resource.c
+++ b/strace-4.9/resource.c
@@ -302,6 +302,8 @@
}
#endif /* ALPHA */
+#include <sys/sysinfo.h>
+
int
sys_sysinfo(struct tcb *tcp)
{
With that in place, it works fine.
Thanks,
Steven
More information about the Strace-devel
mailing list