diff options
author | Elliott Hughes <enh@google.com> | 2015-01-31 08:13:55 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-01-31 08:13:55 +0000 |
commit | 2c781bd1be7b01db4d06224e62b58d84d514eb12 (patch) | |
tree | 4c9499d6871d29d80796136b2765468466f8f605 | |
parent | fbce38ec2c4f4e6be454cbd1e0087b1c0a352a9c (diff) | |
parent | e2d5072c4f0604bdebae4d964ccd2f4f125b4600 (diff) | |
download | psb_video-2c781bd1be7b01db4d06224e62b58d84d514eb12.tar.gz |
am e2d5072c: Fix "error: implicit declaration of function \'malloc\'".android-wear-5.1.1_r1android-wear-5.1.0_r1android-m-preview-2android-m-preview-1android-m-previewmaster-soong
* commit 'e2d5072c4f0604bdebae4d964ccd2f4f125b4600':
Fix "error: implicit declaration of function 'malloc'".
-rw-r--r-- | src/tng_hostair.c | 1 | ||||
-rwxr-xr-x | src/tng_yuv_processor.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/tng_hostair.c b/src/tng_hostair.c index 1513945..9c43fda 100644 --- a/src/tng_hostair.c +++ b/src/tng_hostair.c @@ -29,6 +29,7 @@ #include <unistd.h> #include <stdio.h> +#include <malloc.h> #include <memory.h> #include "psb_drv_video.h" #include "psb_drv_debug.h" diff --git a/src/tng_yuv_processor.c b/src/tng_yuv_processor.c index 510406e..06c5b5e 100755 --- a/src/tng_yuv_processor.c +++ b/src/tng_yuv_processor.c @@ -35,6 +35,8 @@ #include "hwdefs/msvdx_offsets.h" #include "hwdefs/msvdx_cmds_io2.h" +#include <malloc.h> + #define SURFACE(id) ((object_surface_p) object_heap_lookup( &dec_ctx->obj_context->driver_data->surface_heap, id )) static void tng_yuv_processor_QueryConfigAttributes( |