aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/temperature/e_mod_main.c
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2011-10-31 15:52:42 +0000
committerVincent Torri <vincent.torri@gmail.com>2011-10-31 15:52:42 +0000
commit7fd3d55bf2a6a3b32c3d5634cc6600767e542536 (patch)
treecb56e579c41cc3af7d4f86599ea47401adc471f5 /src/modules/temperature/e_mod_main.c
parentand refine new gadcon layout somemore - so much simpler now! yay! (diff)
downloadenlightenment-7fd3d55bf2a6a3b32c3d5634cc6600767e542536.tar.gz
E17: add temperature module for OpenBSD
Patch by Laurent Fanis <laurent@openbsd.org> SVN revision: 64574
Diffstat (limited to 'src/modules/temperature/e_mod_main.c')
-rw-r--r--src/modules/temperature/e_mod_main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/temperature/e_mod_main.c b/src/modules/temperature/e_mod_main.c
index e46f73d81..0d061db5e 100644
--- a/src/modules/temperature/e_mod_main.c
+++ b/src/modules/temperature/e_mod_main.c
@@ -6,6 +6,13 @@
#include <sys/sysctl.h>
#endif
+#ifdef __OpenBSD__
+#include <sys/types.h>
+#include <sys/sysctl.h>
+#include <sys/sensors.h>
+#endif
+
+
/* gadcon requirements */
static E_Gadcon_Client *_gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style);
static void _gc_shutdown(E_Gadcon_Client *gcc);