aports/testing/java-sigar/musl-compat-HZ.patch
Jakub Jirutka e01acd2d2c testing/java-sigar: new aport
https://github.com/hyperic/sigar/
System Information Gatherer And Reporter
2019-01-16 21:12:20 +01:00

13 lines
277 B
Diff

The HZ define is not exposed by musl libc.
--- a/src/os/linux/linux_sigar.c
+++ b/src/os/linux/linux_sigar.c
@@ -23,6 +23,7 @@
#include <sys/stat.h>
#include <sys/times.h>
#include <sys/utsname.h>
+#include <linux/param.h>
#include "sigar.h"
#include "sigar_private.h"