Fix compilation because glibtop_machine definition has moved.

This commit is contained in:
Benoit Dejean
2015-08-15 10:57:25 +02:00
parent c9e73e52ac
commit 7437509412
2 changed files with 3 additions and 0 deletions

View File

@@ -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)

View File

@@ -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 !!! */