aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/temperature/tempget.c
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2009-12-17 08:22:39 +0000
committerVincent Torri <vincent.torri@gmail.com>2009-12-17 08:22:39 +0000
commit85b159255dc98adcf23fb606e420d02e3511898f (patch)
tree7f15f838ebb6f2d531422329c45099193abfdd13 /src/modules/temperature/tempget.c
parentbatget: (diff)
downloadenlightenment-85b159255dc98adcf23fb606e420d02e3511898f.tar.gz
tempget:
* small cleanup * allow compilation on opensolaris This modules does not work on opensolaris. I don't know that stuff, so I have no idea of what to do to fix that SVN revision: 44522
Diffstat (limited to 'src/modules/temperature/tempget.c')
-rw-r--r--src/modules/temperature/tempget.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/modules/temperature/tempget.c b/src/modules/temperature/tempget.c
index 15f115bc8..5d7664e16 100644
--- a/src/modules/temperature/tempget.c
+++ b/src/modules/temperature/tempget.c
@@ -1,14 +1,23 @@
/*
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
-#include "e.h"
-#include "e_mod_main.h"
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <limits.h>
#ifdef __FreeBSD__
#include <sys/types.h>
#include <sys/sysctl.h>
#endif
+#include <Ecore.h>
+#include <Ecore_File.h>
+
+#include "e_mod_main_private.h"
+
+
static int sensor_type = SENSOR_TYPE_NONE;
static char *sensor_name = NULL;
static int poll_interval = 32;