summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Mertz <scott@cyngn.com>2015-10-21 10:11:49 -0700
committerScott Mertz <scott@cyngn.com>2015-10-21 10:11:49 -0700
commit6a6c815e74bc9c8da0cead508dfa722229ea878f (patch)
tree394aa8546f30fb1d8163c0d99a93dc0056cbb54d
parent2cde1bee5f6c6bcfa5325659cb3a8f5c17555396 (diff)
downloadhardware_libhardware-6a6c815e74bc9c8da0cead508dfa722229ea878f.zip
hardware_libhardware-6a6c815e74bc9c8da0cead508dfa722229ea878f.tar.gz
hardware_libhardware-6a6c815e74bc9c8da0cead508dfa722229ea878f.tar.bz2
audio_amplifier: fix compilation
stdlib.h is needed explicitely with the new toolchain/toolchain options. Change-Id: I876041828310ec8f9fb1e0d636a38cce1977d9b9
-rw-r--r--modules/audio/audio_amplifier.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/audio/audio_amplifier.c b/modules/audio/audio_amplifier.c
index 816b636..9b92356 100644
--- a/modules/audio/audio_amplifier.c
+++ b/modules/audio/audio_amplifier.c
@@ -18,6 +18,7 @@
//#define LOG_NDEBUG 0
#include <stdint.h>
+#include <stdlib.h>
#include <sys/types.h>
#include <cutils/log.h>