diff options
author | Benoît Dejean <bdejean@gmail.com> | 2018-03-07 20:47:44 +0100 |
---|---|---|
committer | Benoît Dejean <bdejean@gmail.com> | 2018-03-07 20:47:44 +0100 |
commit | 4f36c74b68759599fe86009be9d54c6ba8d0c652 (patch) | |
tree | e5d949feb11f4a0cbd69c55fbbc9135e8fd53b9f | |
parent | c65cb3e46b271535fc475f4ba3118d60b17a450c (diff) | |
download | libgtop-4f36c74b68759599fe86009be9d54c6ba8d0c652.tar.gz |
Fix build on freebsd and darwin.
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | sysdeps/darwin/glibtop_server.h | 1 | ||||
-rw-r--r-- | sysdeps/freebsd/glibtop_server.h | 1 |
3 files changed, 6 insertions, 1 deletions
@@ -7,7 +7,9 @@ *.in *.la *.lo +*.new *.o +*.old *.out *.patch *.pot @@ -24,6 +26,7 @@ INSTALL Makefile Makevars.template Rules-quot +\#*\# aclocal.m4 autom4te.cache/ compile @@ -55,6 +58,7 @@ doc/texinfo.tex doc/version.texi examples/affinity examples/df +examples/diskio examples/first examples/free examples/mountlist @@ -70,7 +74,6 @@ examples/smp examples/sysdeps examples/timings examples/wd -examples/diskio gtk-doc.make install-sh lib/GTop-2.0.gir diff --git a/sysdeps/darwin/glibtop_server.h b/sysdeps/darwin/glibtop_server.h index 8cf44c79..92c433ab 100644 --- a/sysdeps/darwin/glibtop_server.h +++ b/sysdeps/darwin/glibtop_server.h @@ -46,6 +46,7 @@ G_BEGIN_DECLS #define GLIBTOP_SUID_PROC_WD (1 << GLIBTOP_SYSDEPS_PROC_WD) #define GLIBTOP_SUID_PROC_AFFINITY 0 #define GLIBTOP_SUID_PROC_IO 0 +#define GLIBTOP_SUID_PROC_OPEN_FILES 0 G_END_DECLS diff --git a/sysdeps/freebsd/glibtop_server.h b/sysdeps/freebsd/glibtop_server.h index d908ea7c..86a02eea 100644 --- a/sysdeps/freebsd/glibtop_server.h +++ b/sysdeps/freebsd/glibtop_server.h @@ -48,6 +48,7 @@ G_BEGIN_DECLS #define GLIBTOP_SUID_PROC_WD 0 #define GLIBTOP_SUID_PROC_AFFINITY 0 #define GLIBTOP_SUID_PROC_IO (1 << GLIBTOP_SYSDEPS_PROC_IO) +#define GLIBTOP_SUID_PROC_OPEN_FILES 0 G_END_DECLS |