OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b77d415
)
Make wakelock compile on Linux
author
Jakub Pawlowski
<jpawlowski@google.com>
Tue, 23 Feb 2016 23:27:47 +0000
(15:27 -0800)
committer
Jakub Pawlowski
<jpawlowski@google.com>
Wed, 24 Feb 2016 01:03:37 +0000
(
01:03
+0000)
This patch adds some missing header files that prevented wakelocks
from compiling on linux.
Bug:
27324453
Change-Id: Ifabf3350fe840524cf7e1ec7aa2825acb4399c81
osi/src/wakelock.c
patch
|
blob
|
history
diff --git
a/osi/src/wakelock.c
b/osi/src/wakelock.c
index
4053248
..
bb4709b
100644
(file)
--- 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"