misc smaller fixes
authorPhil Sutter <phil@nwl.cc>
Wed, 28 Oct 2009 02:54:53 +0000 (03:54 +0100)
committerPhil Sutter <phil@nwl.cc>
Tue, 3 Nov 2009 22:23:23 +0000 (23:23 +0100)
src/conky.c
src/core.c
src/exec.c
src/ibm.c
src/mail.c

index 4d77aa3..aef2c53 100644 (file)
@@ -32,6 +32,7 @@
 #include "text_object.h"
 #include "conky.h"
 #include "common.h"
+#include "timed_thread.h"
 #include <stdarg.h>
 #include <math.h>
 #include <time.h>
index e37ed99..4a372a3 100644 (file)
@@ -293,7 +293,7 @@ struct text_object *construct_text_object(const char *s, const char *arg, long
        END OBJ(i8k_buttons_status, &update_i8k)
 #if defined(IBM)
        END OBJ(ibm_fan, 0)
-       END OBJ(ibm_temps, &get_ibm_acpi_temps, "ibm_temps: needs an argument")
+       END OBJ_ARG(ibm_temps, &get_ibm_acpi_temps, "ibm_temps: needs an argument")
                parse_ibm_temps_arg(obj, arg);
        END OBJ(ibm_volume, 0)
        END OBJ(ibm_brightness, 0)
index 4e1f9ba..d612bd4 100644 (file)
@@ -33,6 +33,7 @@
 #include "logging.h"
 #include "specials.h"
 #include "text_object.h"
+#include "timed_thread.h"
 #include <stdio.h>
 #include <sys/types.h>
 #include <sys/wait.h>
index 8d1b08c..76eb3e0 100644 (file)
--- a/src/ibm.c
+++ b/src/ibm.c
@@ -33,6 +33,8 @@
 #include "config.h"
 #include "ibm.h"
 #include "logging.h"
+#include "temphelper.h"
+#include <ctype.h>
 #include <stdio.h>
 #include <errno.h>
 #include <string.h>
index d676fa1..2dba7cc 100644 (file)
@@ -33,6 +33,7 @@
 #include "common.h"
 #include "logging.h"
 #include "text_object.h"
+#include "timed_thread.h"
 
 #include <errno.h>
 #include <stdio.h>