projects
/
strace
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ec5c04
)
Fix build with musl libc
author
Dmitry V. Levin
<ldv@altlinux.org>
Mon, 29 Sep 2014 23:09:22 +0000
(23:09 +0000)
committer
Dmitry V. Levin
<ldv@altlinux.org>
Mon, 29 Sep 2014 23:09:22 +0000
(23:09 +0000)
* resource.c: Include <sys/sysinfo.h> for struct sysinfo definition.
Reported-by: Steven Honeyman <stevenhoneyman@gmail.com>
resource.c
patch
|
blob
|
history
diff --git
a/resource.c
b/resource.c
index 12e218f2a02a7672bba54ecf66021497f06cb9d7..8054c7bf90af3ae25331e1c31c3a6d3efe0fafab 100644
(file)
--- a/
resource.c
+++ b/
resource.c
@@
-302,6
+302,8
@@
sys_osf_getrusage(struct tcb *tcp)
}
#endif /* ALPHA */
+#include <sys/sysinfo.h>
+
int
sys_sysinfo(struct tcb *tcp)
{