 diff --git a/src/click/weather.c b/src/click/weather.c
-index f101c06..35494cb 100644
+index f101c06..d251cfa 100644
 --- a/src/click/weather.c
 +++ b/src/click/weather.c
-@@ -18,8 +18,9 @@
+@@ -18,11 +18,11 @@
   USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   ************************************************************************************************************************/
  

         uint8_t tmp = reg_addr + t;
         i2c_write(dev_addr, &tmp, 1);
         iError = i2c_read(dev_addr, &tmp, 1) >= 0 ? 0 : -1;
@@ -51,7 +53,8 @@ static s8 weather_click_i2c_bus_write(u8 dev_addr, u8 reg_addr, u8 *reg_data, u8
     int iError = BME280_INIT_VALUE;
     uint8_t array[2];
 

+#include "sys/clock.h"
 #include <stdlib.h>
 #include <stdint.h>
-#include <unistd.h>
 #include <time.h>
 
 static struct bme280_t bme280;
@@ -32,7 +32,8 @@ static s8 weather_click_i2c_bus_read(u8 dev_addr, u8 reg_addr, u8 *reg_data, u8
 {
     int iError = BME280_INIT_VALUE;
 
