aboutsummaryrefslogtreecommitdiff
path: root/src/include/sysfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/sysfs.h')
-rw-r--r--src/include/sysfs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/sysfs.h b/src/include/sysfs.h
index 59ab701..949bb09 100644
--- a/src/include/sysfs.h
+++ b/src/include/sysfs.h
@@ -1,3 +1,8 @@
+#ifndef __ZENMONITOR_SYSFS_H__
+#define __ZENMONITOR_SYSFS_H__
+
+#include <glib.h>
+
#define SYSFS_DIR_CPUS "/sys/devices/system/cpu"
struct cpudev {
@@ -6,3 +11,5 @@ struct cpudev {
};
struct cpudev * get_cpu_dev_ids(void);
+
+#endif /* __ZENMONITOR_SYSFS_H__ */