diff options
author | Benoit Dejean <bdejean@gmail.com> | 2015-08-15 10:57:25 +0200 |
---|---|---|
committer | Benoit Dejean <bdejean@gmail.com> | 2015-08-15 10:57:25 +0200 |
commit | 74375094128ddc64000c2419608ed5d362aa6f6c (patch) | |
tree | eda2bba73040f1400d2ebe47af8079e1e54b3f4e /sysdeps | |
parent | c9e73e52acf25a39aadc52927d6e36f293ccd035 (diff) | |
download | libgtop-74375094128ddc64000c2419608ed5d362aa6f6c.tar.gz |
Fix compilation because glibtop_machine definition has moved.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/freebsd/glibtop_suid.h | 2 | ||||
-rw-r--r-- | sysdeps/freebsd/suid_open.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/freebsd/glibtop_suid.h b/sysdeps/freebsd/glibtop_suid.h index 6b9d803a..e548a0d6 100644 --- a/sysdeps/freebsd/glibtop_suid.h +++ b/sysdeps/freebsd/glibtop_suid.h @@ -28,6 +28,8 @@ G_BEGIN_DECLS #include <sys/param.h> #endif +#include <glibtop_machine.h> + #define KI_PROC(ki) (&(ki))->kp_proc) #define KI_EPROC(ki) (&(ki))->kp_eproc) diff --git a/sysdeps/freebsd/suid_open.c b/sysdeps/freebsd/suid_open.c index c1e19879..00349ae6 100644 --- a/sysdeps/freebsd/suid_open.c +++ b/sysdeps/freebsd/suid_open.c @@ -25,6 +25,7 @@ #include <glibtop/cpu.h> #include <glibtop/open.h> #include <glibtop/init_hooks.h> +#include <glibtop/machine.h> /* !!! THIS FUNCTION RUNS SUID ROOT - CHANGE WITH CAUTION !!! */ |