Fix darwin build by adding dummy proc_io implementation.

https://gitlab.gnome.org/GNOME/libgtop/issues/36
This commit is contained in:
Benoît Dejean
2018-02-09 18:54:30 +01:00
parent b31bce292b
commit 42b049f338
3 changed files with 47 additions and 1 deletions

View File

@@ -45,6 +45,7 @@ G_BEGIN_DECLS
#define GLIBTOP_SUID_PPP (1 << GLIBTOP_SYSDEPS_PPP)
#define GLIBTOP_SUID_PROC_WD (1 << GLIBTOP_SYSDEPS_PROC_WD)
#define GLIBTOP_SUID_PROC_AFFINITY 0
#define GLIBTOP_SUID_PROC_IO 0
G_END_DECLS