projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44abd37
)
barometer plugin: add missing include
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
fba3450
..
998932d
100644
(file)
--- a/
src/barometer.c
+++ b/
src/barometer.c
@@
-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 */