Define glibtop_machine for Linux as empty because it's not used.

Fix compilation.
This commit is contained in:
Benoît Dejean
2015-08-08 11:05:25 +02:00
parent 106ee901bb
commit ca42f1f3af

View File

@@ -22,9 +22,7 @@
#ifndef __GLIBTOP_MACHINE_H__ #ifndef __GLIBTOP_MACHINE_H__
#define __GLIBTOP_MACHINE_H__ #define __GLIBTOP_MACHINE_H__
#include <unistd.h> #include <glib.h>
#include <fcntl.h>
#include <ctype.h>
G_BEGIN_DECLS G_BEGIN_DECLS
@@ -32,8 +30,6 @@ typedef struct _glibtop_machine glibtop_machine;
struct _glibtop_machine struct _glibtop_machine
{ {
guint64 reserved[8];
int reserved[8];
}; };
G_END_DECLS G_END_DECLS