summaryrefslogtreecommitdiffstats
path: root/modules/hwcomposer
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-28 19:54:13 -0800
committerElliott Hughes <enh@google.com>2015-01-28 19:54:13 -0800
commit84b9ff8b1c1e58c735d1296380c36227ca825ea1 (patch)
treee4bfd2237b596120ae037ebfd89a00aeb82c445a /modules/hwcomposer
parent7b8e44f511fdb5bd2730e29cc88f72305cf7ab16 (diff)
downloadhardware_libhardware-84b9ff8b1c1e58c735d1296380c36227ca825ea1.zip
hardware_libhardware-84b9ff8b1c1e58c735d1296380c36227ca825ea1.tar.gz
hardware_libhardware-84b9ff8b1c1e58c735d1296380c36227ca825ea1.tar.bz2
Add missing includes.
Change-Id: Ia74cceea707e51195a570eed37d4b334ac413773
Diffstat (limited to 'modules/hwcomposer')
-rw-r--r--modules/hwcomposer/hwcomposer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/hwcomposer/hwcomposer.cpp b/modules/hwcomposer/hwcomposer.cpp
index f0a5512..9d1aa34 100644
--- a/modules/hwcomposer/hwcomposer.cpp
+++ b/modules/hwcomposer/hwcomposer.cpp
@@ -16,8 +16,9 @@
#include <hardware/hardware.h>
-#include <fcntl.h>
#include <errno.h>
+#include <fcntl.h>
+#include <malloc.h>
#include <cutils/log.h>
#include <cutils/atomic.h>