Define glibtop_machine for Linux as empty because it's not used.
Fix compilation.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user