aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-31 07:49:34 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-01-31 07:49:34 +0000
commit76bd3954a4802b4bb2e797e49488c31315e9c913 (patch)
treef5aea8d7a36c804b64576c24b0472782fb213ef5
parente17a08456e639f667d256656920b5c0e99b82b85 (diff)
parent6e651afc8c61e7cc2a1f08078e908df2810af49a (diff)
downloadpsb_video-76bd3954a4802b4bb2e797e49488c31315e9c913.tar.gz
am 6e651afc: Fix "error: implicit declaration of function \'calloc\'".
* commit '6e651afc8c61e7cc2a1f08078e908df2810af49a': Fix "error: implicit declaration of function 'calloc'".
-rw-r--r--src/psb_surface_attrib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/psb_surface_attrib.c b/src/psb_surface_attrib.c
index be236dc..6b83ab4 100644
--- a/src/psb_surface_attrib.c
+++ b/src/psb_surface_attrib.c
@@ -28,6 +28,7 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <fcntl.h>
+#include <malloc.h>
#ifdef ANDROID
#include <linux/ion.h>
#endif