OSDN Git Service
(root)
/
android-x86
/
hardware-intel-libsensors.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reverse the default orientation of accelerometer
[android-x86/hardware-intel-libsensors.git]
/
activity_event_entry.c
diff --git
a/activity_event_entry.c
b/activity_event_entry.c
index
d5cdecf
..
107fd35
100644
(file)
--- a/
activity_event_entry.c
+++ b/
activity_event_entry.c
@@
-18,6
+18,7
@@
* This file represents the entry point for the activity recognition HAL module.
*/
* This file represents the entry point for the activity recognition HAL module.
*/
+#include <stdlib.h>
#include <utils/Log.h>
#include <sys/epoll.h>
#include <sys/eventfd.h>
#include <utils/Log.h>
#include <sys/epoll.h>
#include <sys/eventfd.h>
@@
-32,6
+33,7
@@
#include "common.h"
#include "activity_event_utils.h"
#include <linux/iio/events.h>
#include "common.h"
#include "activity_event_utils.h"
#include <linux/iio/events.h>
+#include <linux/iio/types.h>
#define MODULE_VERSION 1
#define HAL_VERSION 0
#define MODULE_VERSION 1
#define HAL_VERSION 0