--- a/brewco/brewco.h Sat Nov 07 22:04:17 2015 +0100 +++ b/brewco/brewco.h Sat Nov 07 22:34:28 2015 +0100 @@ -22,6 +22,7 @@ #include <errno.h> #include <signal.h> #include <getopt.h> +#include <limits.h> #ifndef HAVE_WIRINGPI_H #include <pthread.h>