summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-06-29 07:29:14 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-06-29 07:29:14 +0000
commit92b03e24d07c07fd0cccecaaca43751eea0aa96e (patch)
treec7822e4f167bc0693dbb2f2e40e81b6ac93ea66b
parentf56133888e0abbd3941d41a101b4f4078510dac0 (diff)
parenta6bddef1a2549c0b05b1fdb4a3bee4b06224f70b (diff)
downloadmedia-92b03e24d07c07fd0cccecaaca43751eea0aa96e.tar.gz
release-request-fbba21d1-17b5-4752-9864-95770e5db190-for-git_oc-mr1-release-4144771 snap-temp-L10300000078657232
Change-Id: I906926861592f932d99952ac167fc3928f0057c1
-rw-r--r--audio_utils/Android.bp2
-rw-r--r--audio_utils/PowerLog.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/audio_utils/Android.bp b/audio_utils/Android.bp
index bde8b4ac..f0f0097e 100644
--- a/audio_utils/Android.bp
+++ b/audio_utils/Android.bp
@@ -35,10 +35,12 @@ cc_library {
header_libs: [
"libaudio_system_headers",
+ "libutils_headers",
],
export_header_lib_headers: [
"libaudio_system_headers",
+ "libutils_headers",
],
shared_libs: [
diff --git a/audio_utils/PowerLog.cpp b/audio_utils/PowerLog.cpp
index ab0dcaa3..15048baf 100644
--- a/audio_utils/PowerLog.cpp
+++ b/audio_utils/PowerLog.cpp
@@ -23,6 +23,7 @@
#include <math.h>
#include <sstream>
#include <stdint.h>
+#include <unistd.h>
#include <audio_utils/clock.h>
#include <audio_utils/power.h>