aboutsummaryrefslogtreecommitdiff
path: root/hwcomposer.cpp
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-05-07 23:42:54 -0700
committerDan Albert <danalbert@google.com>2015-05-07 23:42:54 -0700
commitc5255b33e252af6d38c871576ce2778663717457 (patch)
tree930c3dedf629013ed6425f1ba603f6f6bcc2cd06 /hwcomposer.cpp
parentd0afe23bac9fcc7c45dad8b91e3cd05403829323 (diff)
downloaddrm_hwcomposer-c5255b33e252af6d38c871576ce2778663717457.tar.gz
Add missing include for calloc/free.
Bug: http://b/15193147 Change-Id: Ibb2fb6fef4ca6a23eb2f53111c4b01847fe468b2
Diffstat (limited to 'hwcomposer.cpp')
-rw-r--r--hwcomposer.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/hwcomposer.cpp b/hwcomposer.cpp
index f2e04b4..4256998 100644
--- a/hwcomposer.cpp
+++ b/hwcomposer.cpp
@@ -20,10 +20,13 @@
#include <errno.h>
#include <fcntl.h>
-#include <list>
#include <pthread.h>
+#include <stdlib.h>
#include <sys/param.h>
#include <sys/resource.h>
+
+#include <list>
+
#include <xf86drm.h>
#include <xf86drmMode.h>