aboutsummaryrefslogtreecommitdiffstats
path: root/community/java-sigar/musl-compat-HZ.patch
blob: 19aa619095ad1afd33677b17daa0a688bdf7d3b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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"