diff -r 7c44b11a10b0 -r 3c8bf18fdf42 thermferm/devices.c --- a/thermferm/devices.c Tue Aug 05 21:46:49 2014 +0200 +++ b/thermferm/devices.c Tue Aug 05 22:29:22 2014 +0200 @@ -36,9 +36,11 @@ int device_out(char *uuid, int value) { devices_list *device; - char buf[40]; + time_t now; +#ifdef HAVE_WIRINGPI_H int i, rc; - time_t now; + char buf[40]; +#endif if (uuid == NULL) return 0;