From 1b3aa404858b476015a2b29d0c42f7dbbed915bc Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 8 Apr 2012 14:05:47 +0200 Subject: add yajl compat code --- src/print_battery_info.c | 1 + src/print_cpu_temperature.c | 1 + src/print_cpu_usage.c | 1 + src/print_ddate.c | 1 + src/print_disk_info.c | 1 + src/print_eth_info.c | 2 ++ src/print_ipv6_addr.c | 1 + src/print_load.c | 1 + src/print_run_watch.c | 1 + src/print_time.c | 1 + src/print_volume.c | 2 ++ src/print_wireless_info.c | 2 ++ 12 files changed, 15 insertions(+) (limited to 'src') diff --git a/src/print_battery_info.c b/src/print_battery_info.c index 3892d35..de63e4c 100644 --- a/src/print_battery_info.c +++ b/src/print_battery_info.c @@ -4,6 +4,7 @@ #include #include #include +#include #include "i3status.h" diff --git a/src/print_cpu_temperature.c b/src/print_cpu_temperature.c index 65fcfae..25b45f6 100644 --- a/src/print_cpu_temperature.c +++ b/src/print_cpu_temperature.c @@ -4,6 +4,7 @@ #include #include #include +#include #include "i3status.h" diff --git a/src/print_cpu_usage.c b/src/print_cpu_usage.c index 24afca7..7fdd11c 100644 --- a/src/print_cpu_usage.c +++ b/src/print_cpu_usage.c @@ -4,6 +4,7 @@ #include #include #include +#include #ifdef __FreeBSD__ #include diff --git a/src/print_ddate.c b/src/print_ddate.c index ca3ab0e..edc8e97 100644 --- a/src/print_ddate.c +++ b/src/print_ddate.c @@ -4,6 +4,7 @@ #include #include #include +#include #include "i3status.h" diff --git a/src/print_disk_info.c b/src/print_disk_info.c index 7235325..9ddffd3 100644 --- a/src/print_disk_info.c +++ b/src/print_disk_info.c @@ -11,6 +11,7 @@ #include #endif #include +#include #include "i3status.h" diff --git a/src/print_eth_info.c b/src/print_eth_info.c index 1e877c0..90005bf 100644 --- a/src/print_eth_info.c +++ b/src/print_eth_info.c @@ -8,6 +8,8 @@ #include #include #include +#include +#include #include "i3status.h" diff --git a/src/print_ipv6_addr.c b/src/print_ipv6_addr.c index 3f1c81d..be64ba3 100644 --- a/src/print_ipv6_addr.c +++ b/src/print_ipv6_addr.c @@ -9,6 +9,7 @@ #include #include #include +#include #include "i3status.h" diff --git a/src/print_load.c b/src/print_load.c index 181773b..d0d65f7 100644 --- a/src/print_load.c +++ b/src/print_load.c @@ -4,6 +4,7 @@ #include #include #include +#include void print_load(yajl_gen json_gen, char *buffer, const char *format) { char *outwalk = buffer; diff --git a/src/print_run_watch.c b/src/print_run_watch.c index f93c3a0..893e2cd 100644 --- a/src/print_run_watch.c +++ b/src/print_run_watch.c @@ -1,6 +1,7 @@ #include #include #include +#include #include "i3status.h" void print_run_watch(yajl_gen json_gen, char *buffer, const char *title, const char *pidfile, const char *format) { diff --git a/src/print_time.c b/src/print_time.c index a1bb34c..00a6196 100644 --- a/src/print_time.c +++ b/src/print_time.c @@ -3,6 +3,7 @@ #include #include #include +#include #include "i3status.h" diff --git a/src/print_volume.c b/src/print_volume.c index 5c34c3e..bc14ed8 100644 --- a/src/print_volume.c +++ b/src/print_volume.c @@ -3,6 +3,8 @@ #include #include #include +#include +#include #ifdef LINUX #include diff --git a/src/print_wireless_info.c b/src/print_wireless_info.c index 642dece..a75d284 100644 --- a/src/print_wireless_info.c +++ b/src/print_wireless_info.c @@ -1,6 +1,8 @@ // vim:ts=8:expandtab #include #include +#include +#include #ifdef LINUX #include -- cgit v1.2.3