include <sys/time.h> before <sys/sensors.h> for time struct timeval
authorJosuah Demangeon <mail@josuah.net>
Tue, 8 May 2018 11:42:17 +0000 (13:42 +0200)
committerAaron Marcher <me@drkhsh.at>
Tue, 8 May 2018 13:05:29 +0000 (15:05 +0200)
commitea2e2bd00403e02bee6298cfbb78eaa45869c851
tree401cfc6b2d557336898957b821a2f118ccbd6e68
parent666f28520126fa54fca128b172c065b8a29a7f76
include <sys/time.h> before <sys/sensors.h> for time struct timeval

sys/sensors.h has two structs struct timeval: sensor and ksensor:

struct sensor {
...
struct timeval tv; /* sensor value last change time */
...
};
components/temperature.c