diff options
Diffstat (limited to 'community/java-sigar/musl-compat-HZ.patch')
-rw-r--r-- | community/java-sigar/musl-compat-HZ.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/community/java-sigar/musl-compat-HZ.patch b/community/java-sigar/musl-compat-HZ.patch new file mode 100644 index 0000000000..19aa619095 --- /dev/null +++ b/community/java-sigar/musl-compat-HZ.patch @@ -0,0 +1,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" |