--- a/thermferm/thermferm.h Sat Mar 26 14:43:31 2016 +0100 +++ b/thermferm/thermferm.h Sat Apr 30 21:06:20 2016 +0200 @@ -42,6 +42,10 @@ #include <libxml/encoding.h> #include <libxml/xmlwriter.h> +#ifdef HAVE_MOSQUITTO_H +#include <mosquitto.h> +#endif + #ifdef HAVE_WIRINGPI_H /* wiringPi */ #include <wiringPi.h> @@ -325,6 +329,10 @@ #ifdef USE_SIMULATOR simulator_list *simulators; /* Simulators */ #endif +#ifdef HAVE_MOSQUITTO_H + char *mosq_host; /* MQTT host to connect to */ + int mosq_port; /* MQTT port to connect to */ +#endif } sys_config;