Code

barometer plugin: add missing include
[collectd.git] / 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 */