aboutsummaryrefslogtreecommitdiffstats
path: root/community/java-sigar/java-sigar-include-sysmacros.patch
diff options
context:
space:
mode:
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;