commit | 9d014d04bd1e26b68ea979885ccbc6f131a7eda3 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Jan 28 17:27:45 2015 -0800 |
committer | Elliott Hughes <enh@google.com> | Wed Jan 28 17:36:49 2015 -0800 |
tree | cea9277a3383214b293e90d86f2eb966a6354953 | |
parent | 47deb15e99cbf60e558027e074b7415c95637943 [diff] |
Add missing includes. Change-Id: Ib697ce44243e7cb07aee60944238e0854d82e9de
diff --git a/cmds/screenrecord/TextRenderer.cpp b/cmds/screenrecord/TextRenderer.cpp index 6a9176b..01f73e0 100644 --- a/cmds/screenrecord/TextRenderer.cpp +++ b/cmds/screenrecord/TextRenderer.cpp
@@ -21,6 +21,8 @@ #include "TextRenderer.h" #include <assert.h> +#include <malloc.h> +#include <string.h> namespace android { #include "FontBitmap.h"
diff --git a/media/libcpustats/ThreadCpuUsage.cpp b/media/libcpustats/ThreadCpuUsage.cpp index 7b5b661..b43b36c 100644 --- a/media/libcpustats/ThreadCpuUsage.cpp +++ b/media/libcpustats/ThreadCpuUsage.cpp
@@ -19,6 +19,7 @@ #include <errno.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <utils/Log.h>
diff --git a/media/libmedia/MemoryLeakTrackUtil.cpp b/media/libmedia/MemoryLeakTrackUtil.cpp index 66f7161..d31f721 100644 --- a/media/libmedia/MemoryLeakTrackUtil.cpp +++ b/media/libmedia/MemoryLeakTrackUtil.cpp
@@ -18,6 +18,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <sys/types.h> #include <unistd.h>
diff --git a/media/libstagefright/codecs/amrnb/dec/test/amrnbdec_test.cpp b/media/libstagefright/codecs/amrnb/dec/test/amrnbdec_test.cpp index 521fe2b..41a9e98 100644 --- a/media/libstagefright/codecs/amrnb/dec/test/amrnbdec_test.cpp +++ b/media/libstagefright/codecs/amrnb/dec/test/amrnbdec_test.cpp
@@ -26,6 +26,7 @@ * SUCH DAMAGE. */ +#include <malloc.h> #include <stdio.h> #include <stdint.h> #include <string.h>