summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoît Dejean <bdejean@gmail.com>2015-08-08 11:05:25 +0200
committerBenoît Dejean <bdejean@gmail.com>2015-08-08 11:11:30 +0200
commitca42f1f3af153374f3b0a66f7f470776981e3f9d (patch)
tree59b980df6e889e10f5efb524ecae2e38ac5c841a
parent106ee901bbbaab588b86fc6008debc82a5ca9b73 (diff)
downloadlibgtop-ca42f1f3af153374f3b0a66f7f470776981e3f9d.tar.gz
Define glibtop_machine for Linux as empty because it's not used.
Fix compilation.
-rw-r--r--sysdeps/linux/glibtop_machine.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sysdeps/linux/glibtop_machine.h b/sysdeps/linux/glibtop_machine.h
index 133d7c84..14a21bf2 100644
--- a/sysdeps/linux/glibtop_machine.h
+++ b/sysdeps/linux/glibtop_machine.h
@@ -22,9 +22,7 @@
#ifndef __GLIBTOP_MACHINE_H__
#define __GLIBTOP_MACHINE_H__
-#include <unistd.h>
-#include <fcntl.h>
-#include <ctype.h>
+#include <glib.h>
G_BEGIN_DECLS
@@ -32,8 +30,6 @@ typedef struct _glibtop_machine glibtop_machine;
struct _glibtop_machine
{
- guint64 reserved[8];
- int reserved[8];
};
G_END_DECLS