summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoît Dejean <bdejean@gmail.com>2015-08-15 10:28:14 +0200
committerBenoît Dejean <bdejean@gmail.com>2015-08-15 10:28:14 +0200
commita3b502ec3f5633519ef8ecced06cb6760bbbbc4d (patch)
treec9c77004dd56ff83b3e6f415c0f6876c344a6926
parentb74d6abf198854b95ad294a601700713d26166d9 (diff)
downloadlibgtop-a3b502ec3f5633519ef8ecced06cb6760bbbbc4d.tar.gz
Don't include non-installed glibtop_machine.h in glibtop.h.
That would defeat its purpose.
-rw-r--r--glibtop.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/glibtop.h b/glibtop.h
index 29ee44a4..2c963d05 100644
--- a/glibtop.h
+++ b/glibtop.h
@@ -32,6 +32,7 @@
G_BEGIN_DECLS
typedef struct _glibtop glibtop;
+typedef struct _glibtop_machine glibtop_machine;
/**
* LIBGTOP_CHECK_VERSION
@@ -59,8 +60,6 @@ LIBGTOP_MICRO_VERSION >= (micro)))
#include <glibtop_server.h>
-#include <glibtop_machine.h>
-
#ifndef GLIBTOP_MOUNTENTRY_LEN
#define GLIBTOP_MOUNTENTRY_LEN 79
#endif