projects
/
platform
/
adaptation
/
tm1
/
sensor-hal-tm1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43b8f6e
)
sensor-hal: include missing header files for monotonic timestamp
33/77033/1
author
kibak.yoon
<kibak.yoon@samsung.com>
Tue, 28 Jun 2016 10:00:25 +0000
(19:00 +0900)
committer
kibak.yoon
<kibak.yoon@samsung.com>
Tue, 28 Jun 2016 10:10:51 +0000
(19:10 +0900)
- for using monotonic timestamp, "linux/input.h" has to be included.
Change-Id: I21246e7c95a56c5b524c6d17320a9ab67b50e351
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
src/util.cpp
patch
|
blob
|
history
diff --git
a/src/util.cpp
b/src/util.cpp
index
5b60a16
..
345b8b4
100644
(file)
--- a/
src/util.cpp
+++ b/
src/util.cpp
@@
-18,9
+18,11
@@
#include <unistd.h>
#include <dirent.h>
#include <string.h>
-#include <fstream>
+#include <sys/ioctl.h>
+#include <linux/input.h>
#include <util.h>
#include <sensor_log.h>
+#include <fstream>
using std::ifstream;
using std::ofstream;