summaryrefslogtreecommitdiff
path: root/osi
diff options
context:
space:
mode:
authorJakub Pawlowski <jpawlowski@google.com>2016-02-23 15:27:47 -0800
committerJakub Pawlowski <jpawlowski@google.com>2016-02-23 17:07:45 -0800
commitf14c582cdcac8d4f8f2287e7fdd6029512a843d4 (patch)
treec31bcd3e77d762867989011fe9f1d90e617a00d2 /osi
parentf2b7708eaf2de443100e5f22e759c125401b9c07 (diff)
downloadandroid-system-bt-f14c582cdcac8d4f8f2287e7fdd6029512a843d4.tar.gz
android-system-bt-f14c582cdcac8d4f8f2287e7fdd6029512a843d4.tar.xz
Make wakelock compile on Linux
This patch adds some missing header files that prevented wakelocks from compiling on linux. Bug: 27324453 Change-Id: Ifabf3350fe840524cf7e1ec7aa2825acb4399c81
Diffstat (limited to 'osi')
-rw-r--r--osi/src/wakelock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/osi/src/wakelock.c b/osi/src/wakelock.c
index 4053248..bb4709b 100644
--- a/osi/src/wakelock.c
+++ b/osi/src/wakelock.c
@@ -24,9 +24,11 @@
#include <hardware/bluetooth.h>
#include <inttypes.h>
#include <limits.h>
+#include <pthread.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <time.h>
#include "osi/include/alarm.h"
#include "osi/include/allocator.h"