commit | cb2e7fb2a42542c3406678c4fd4ccfab9ceb8748 | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Wed Oct 11 12:43:41 2017 -0700 |
committer | Dan Albert <danalbert@google.com> | Fri Oct 13 18:43:30 2017 +0000 |
tree | 6705febfb1f64fdb8ca5659998d919dccb175326 | |
parent | 16f2c1559c5722a6cd69fef3c17dc5756ba73fe6 [diff] |
Add missing includes. Test: mma Bug: None Exempt-From-Owner-Approval: trivial cleanup Merged-In: I97b9e5e1b6e8b3126a8668460a8c99e4ef1a907d Change-Id: I97b9e5e1b6e8b3126a8668460a8c99e4ef1a907d
diff --git a/media/libaaudio/examples/loopback/src/loopback.cpp b/media/libaaudio/examples/loopback/src/loopback.cpp index 9f06ee7..43eb61c 100644 --- a/media/libaaudio/examples/loopback/src/loopback.cpp +++ b/media/libaaudio/examples/loopback/src/loopback.cpp
@@ -19,10 +19,12 @@ #include <assert.h> #include <cctype> +#include <errno.h> #include <math.h> -#include <stdlib.h> #include <stdio.h> #include <stdlib.h> +#include <stdlib.h> +#include <string.h> #include <unistd.h> #include <aaudio/AAudio.h>
diff --git a/media/libaaudio/examples/utils/AAudioExampleUtils.h b/media/libaaudio/examples/utils/AAudioExampleUtils.h index 66de25f..530188b 100644 --- a/media/libaaudio/examples/utils/AAudioExampleUtils.h +++ b/media/libaaudio/examples/utils/AAudioExampleUtils.h
@@ -17,8 +17,11 @@ #ifndef AAUDIO_EXAMPLE_UTILS_H #define AAUDIO_EXAMPLE_UTILS_H -#include <unistd.h> +#include <errno.h> #include <sched.h> +#include <string.h> +#include <unistd.h> + #include <aaudio/AAudio.h> #define NANOS_PER_MICROSECOND ((int64_t)1000)
diff --git a/media/libaaudio/src/utility/AudioClock.h b/media/libaaudio/src/utility/AudioClock.h index 43b71b0..d5d4ef4 100644 --- a/media/libaaudio/src/utility/AudioClock.h +++ b/media/libaaudio/src/utility/AudioClock.h
@@ -17,6 +17,7 @@ #ifndef UTILITY_AUDIO_CLOCK_H #define UTILITY_AUDIO_CLOCK_H +#include <errno.h> #include <stdint.h> #include <time.h>
diff --git a/services/oboeservice/SharedMemoryProxy.cpp b/services/oboeservice/SharedMemoryProxy.cpp index c31557e..fb991bb 100644 --- a/services/oboeservice/SharedMemoryProxy.cpp +++ b/services/oboeservice/SharedMemoryProxy.cpp
@@ -18,6 +18,9 @@ //#define LOG_NDEBUG 0 #include <log/log.h> +#include <errno.h> +#include <string.h> + #include <aaudio/AAudio.h> #include "SharedMemoryProxy.h"