projects
/
platform
/
adaptation
/
emulator
/
sensor-hal-emulator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3db07aa
)
sensor-hal: include missing header files for monotonic timestamp
37/77037/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:13:22 +0000
(19:13 +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
8b95cdb
..
a54149c
100644
(file)
--- a/
src/util.cpp
+++ b/
src/util.cpp
@@
-18,10
+18,12
@@
#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 <sensor_config.h>
+#include <fstream>
using std::ifstream;
using std::ofstream;