From: Dmitry V. Levin Date: Mon, 29 Sep 2014 23:09:22 +0000 (+0000) Subject: Fix build with musl libc X-Git-Tag: v4.10~384 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f59677e753eb4ec6db036fa4aeda57ea99899b3;p=strace Fix build with musl libc * resource.c: Include for struct sysinfo definition. Reported-by: Steven Honeyman --- diff --git a/resource.c b/resource.c index 12e218f2..8054c7bf 100644 --- a/resource.c +++ b/resource.c @@ -302,6 +302,8 @@ sys_osf_getrusage(struct tcb *tcp) } #endif /* ALPHA */ +#include + int sys_sysinfo(struct tcb *tcp) {