Code

barometer plugin: add missing include
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 13 Aug 2016 14:21:32 +0000 (16:21 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 13 Aug 2016 14:21:32 +0000 (16:21 +0200)
src/barometer.c

index fba3450a2aed5db5331cb6e82484916b54a29999..998932daa826c308f95ce50fcb8c6958820ac527 100644 (file)
@@ -30,6 +30,7 @@
 #include <unistd.h>
 #include <linux/i2c-dev.h>
 #include <math.h>
+#include <sys/ioctl.h>
 
 /* ------------ MPL115 defines ------------ */
 /* I2C address of the MPL115 sensor */