[libgtop] Don't include non-installed glibtop_machine.h in glibtop.h. That would defeat its purpose.



commit a3b502ec3f5633519ef8ecced06cb6760bbbbc4d
Author: Benoît Dejean <bdejean gmail com>
Date:   Sat Aug 15 10:28:14 2015 +0200

    Don't include non-installed glibtop_machine.h in glibtop.h.
    That would defeat its purpose.

 glibtop.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/glibtop.h b/glibtop.h
index 29ee44a..2c963d0 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]