aboutsummaryrefslogtreecommitdiffstats
path: root/community/sigar/0007-sigar-add-sysmacros.patch
diff options
context:
space:
mode:
authorMike Sullivan <mksully22@gmail.com>2019-09-09 13:46:55 +0000
committerLeo <thinkabit.ukim@gmail.com>2019-09-09 10:56:14 -0300
commitee77376683d774af09310426efac828bd39f7a08 (patch)
tree55d2ef843fe877252198584f23ac215c53d21ecf /community/sigar/0007-sigar-add-sysmacros.patch
parente203ee3eef23967dd0607b70bf0edab474e5f556 (diff)
downloadaports-ee77376683d774af09310426efac828bd39f7a08.tar.bz2
aports-ee77376683d774af09310426efac828bd39f7a08.tar.xz
community/sigar: add required sysmacros.h
Diffstat (limited to 'community/sigar/0007-sigar-add-sysmacros.patch')
-rw-r--r--community/sigar/0007-sigar-add-sysmacros.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/community/sigar/0007-sigar-add-sysmacros.patch b/community/sigar/0007-sigar-add-sysmacros.patch
new file mode 100644
index 0000000000..9fbda08501
--- /dev/null
+++ b/community/sigar/0007-sigar-add-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;