aboutsummaryrefslogtreecommitdiff
path: root/src/include/zenmonitor.h
diff options
context:
space:
mode:
authorShun Terabayashi2020-10-04 14:41:35 +0900
committerShun Terabayashi2020-10-04 14:41:35 +0900
commit3ada99c2031964a3c0bbe3d2a1a9b58ba309463d (patch)
tree12601a95b095911eee0026e474c3a3f98de46410 /src/include/zenmonitor.h
parentfa17e94b30611513c7b863422a1215fcea74f369 (diff)
Refactroring headers
* Add include guards * include glib.h in headers
Diffstat (limited to 'src/include/zenmonitor.h')
-rw-r--r--src/include/zenmonitor.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/zenmonitor.h b/src/include/zenmonitor.h
index 43a6e3f..eba68c0 100644
--- a/src/include/zenmonitor.h
+++ b/src/include/zenmonitor.h
@@ -1,3 +1,8 @@
+#ifndef __ZENMONITOR_ZENMONITOR_H__
+#define __ZENMONITOR_ZENMONITOR_H__
+
+#include <glib.h>
+
#define ERROR_VALUE -999.0
#define VERSION "1.4.2"
@@ -28,3 +33,5 @@ gboolean check_zen();
gchar *cpu_model();
guint get_core_count();
extern gboolean display_coreid;
+
+#endif /* __ZENMONITOR_ZENMONITOR_H__ */