aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-30 23:26:01 -0800
committerElliott Hughes <enh@google.com>2015-01-30 23:26:01 -0800
commit6e651afc8c61e7cc2a1f08078e908df2810af49a (patch)
tree6508978944b482dab686494f3e061b02a5a0098b
parent5526ee6314de2723fa8f651dec2ff337e4c7a7da (diff)
downloadpsb_video-6e651afc8c61e7cc2a1f08078e908df2810af49a.tar.gz
Fix "error: implicit declaration of function 'calloc'".
Change-Id: I9692f3b660b4832605fcb03bc60f1572b47e6ca3
-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 492891f..d5539d8 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