summaryrefslogtreecommitdiffstats
path: root/drm
diff options
context:
space:
mode:
authorAdam Langley <agl@google.com>2015-05-12 11:16:00 -0700
committerKenny Root <kroot@google.com>2015-05-13 22:11:15 +0000
commit7cf1fe5df87e249557c87f5954d5dbbe310a618d (patch)
treeddd8f2e5e9b874aab6a512d42c5fcf821b3f6640 /drm
parent9997183bc4e7fa11d35eeb8d58d27aa32a4140d5 (diff)
downloadframeworks_av-7cf1fe5df87e249557c87f5954d5dbbe310a618d.zip
frameworks_av-7cf1fe5df87e249557c87f5954d5dbbe310a618d.tar.gz
frameworks_av-7cf1fe5df87e249557c87f5954d5dbbe310a618d.tar.bz2
FwdLockConv.c: include what you use.
This file needs stdlib.h for malloc, free and realloc, but was previously getting it only via the OpenSSL headers that it was including. BoringSSL, in the future, will be tider about what it includes via its headers and so this file will need to include stdlib.h itself. (cherry picked from commit 2544611b6f37e69955fe7161995b7bacf3ae8fba) Bug: 21085331 Change-Id: I864c679ba5a9f0041dd49d063ad1190ffa87b30a
Diffstat (limited to 'drm')
-rw-r--r--drm/libdrmframework/plugins/forward-lock/internal-format/converter/FwdLockConv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drm/libdrmframework/plugins/forward-lock/internal-format/converter/FwdLockConv.c b/drm/libdrmframework/plugins/forward-lock/internal-format/converter/FwdLockConv.c
index 9d15835..6a0b3c0 100644
--- a/drm/libdrmframework/plugins/forward-lock/internal-format/converter/FwdLockConv.c
+++ b/drm/libdrmframework/plugins/forward-lock/internal-format/converter/FwdLockConv.c
@@ -19,6 +19,7 @@
#include <fcntl.h>
#include <limits.h>
#include <pthread.h>
+#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>