Fix compilation because glibtop_machine definition has moved.

This commit is contained in:
Jasper Lievisse Adriaanse
2015-12-11 14:57:34 +01:00
parent 68104bdde1
commit 7925f83b57
2 changed files with 3 additions and 1 deletions

View File

@@ -28,6 +28,8 @@ G_BEGIN_DECLS
#include <sys/param.h> #include <sys/param.h>
#endif #endif
#include <glibtop_machine.h>
#define KI_PROC(ki) (&(ki))->kp_proc) #define KI_PROC(ki) (&(ki))->kp_proc)
#define KI_EPROC(ki) (&(ki))->kp_eproc) #define KI_EPROC(ki) (&(ki))->kp_eproc)

View File

@@ -25,7 +25,7 @@
#include <glibtop/cpu.h> #include <glibtop/cpu.h>
#include <glibtop/open.h> #include <glibtop/open.h>
#include <glibtop/init_hooks.h> #include <glibtop/init_hooks.h>
#include <glibtop/machine.h>
/* !!! THIS FUNCTION RUNS SUID ROOT - CHANGE WITH CAUTION !!! */ /* !!! THIS FUNCTION RUNS SUID ROOT - CHANGE WITH CAUTION !!! */