aboutsummaryrefslogtreecommitdiffstats
path: root/community/java-sigar/java-sigar-include-sysmacros.patch
diff options
context:
space:
mode:
authorMike Sullivan <mksully22@gmail.com>2019-09-03 19:10:20 +0000
committerprspkt <prspkt@protonmail.com>2019-09-03 22:26:26 +0300
commitc3ba83e4ea738cfd68e1b1b4a3ca798b1eb699a6 (patch)
tree4bab16a3c62af2b6280734ce452455a55434d3a7 /community/java-sigar/java-sigar-include-sysmacros.patch
parente92ff72c211bce19ab329378f4090321853cd017 (diff)
downloadaports-c3ba83e4ea738cfd68e1b1b4a3ca798b1eb699a6.tar.bz2
aports-c3ba83e4ea738cfd68e1b1b4a3ca798b1eb699a6.tar.xz
community/java-sigar: add required sysmacros.h
Diffstat (limited to 'community/java-sigar/java-sigar-include-sysmacros.patch')
-rw-r--r--community/java-sigar/java-sigar-include-sysmacros.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/community/java-sigar/java-sigar-include-sysmacros.patch b/community/java-sigar/java-sigar-include-sysmacros.patch
new file mode 100644
index 0000000000..9fbda08501
--- /dev/null
+++ b/community/java-sigar/java-sigar-include-sysmacros.patch
@@ -0,0 +1,10 @@
+--- a/include/sigar.h
++++ b/include/sigar.h
+@@ -110,6 +110,7 @@
+ typedef unsigned long sigar_gid_t;
+ #else
+ #include <sys/types.h>
++#include <sys/sysmacros.h>
+ typedef pid_t sigar_pid_t;
+ typedef uid_t sigar_uid_t;
+ typedef gid_t sigar_gid_t;