summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 44abd37)
raw | patch | inline | side by side (parent: 44abd37)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 13 Aug 2016 14:21:32 +0000 (16:21 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 13 Aug 2016 14:21:32 +0000 (16:21 +0200) |
src/barometer.c | patch | blob | history |
diff --git a/src/barometer.c b/src/barometer.c
index fba3450a2aed5db5331cb6e82484916b54a29999..998932daa826c308f95ce50fcb8c6958820ac527 100644 (file)
--- a/src/barometer.c
+++ b/src/barometer.c
#include <unistd.h>
#include <linux/i2c-dev.h>
#include <math.h>
+#include <sys/ioctl.h>
/* ------------ MPL115 defines ------------ */
/* I2C address of the MPL115 sensor */