diff -r 0e6a1163e6e3 -r 1992db823b7e brewco/util.c --- a/brewco/util.c Sun Dec 27 20:52:52 2015 +0100 +++ b/brewco/util.c Thu Dec 31 20:52:28 2015 +0100 @@ -24,7 +24,9 @@ #include "util.h" #include "slcd.h" - +#ifdef HAVE_WIRINGPI_H +extern int lcdHandle; +#endif extern int slcdHandle; @@ -142,7 +144,7 @@ } - +#ifndef HAVE_WIRINGPI_H long millis(void) { struct timespec now; @@ -150,7 +152,7 @@ clock_gettime(CLOCK_REALTIME , &now); return ((now.tv_sec * 1000000000) + now.tv_nsec) / 1000000; } - +#endif void hlt_status(int value)