summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-29 04:59:25 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-01-29 04:59:25 +0000
commitf4530d6eed5fa432fe9283355a265a38aea58bc6 (patch)
tree5afb43d69b0fb1133ac6ab8df68423eb3253da18 /modules
parent1e541c22d3552b116f0ab3e3a826f458b2821673 (diff)
parent84b9ff8b1c1e58c735d1296380c36227ca825ea1 (diff)
downloadhardware_libhardware-f4530d6eed5fa432fe9283355a265a38aea58bc6.zip
hardware_libhardware-f4530d6eed5fa432fe9283355a265a38aea58bc6.tar.gz
hardware_libhardware-f4530d6eed5fa432fe9283355a265a38aea58bc6.tar.bz2
Merge "Add missing includes."
Diffstat (limited to 'modules')
-rw-r--r--modules/hwcomposer/hwcomposer.cpp3
-rw-r--r--modules/tv_input/tv_input.cpp3
2 files changed, 4 insertions, 2 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>
diff --git a/modules/tv_input/tv_input.cpp b/modules/tv_input/tv_input.cpp
index bc02786..114e80e 100644
--- a/modules/tv_input/tv_input.cpp
+++ b/modules/tv_input/tv_input.cpp
@@ -14,8 +14,9 @@
* limitations under the License.
*/
-#include <fcntl.h>
#include <errno.h>
+#include <fcntl.h>
+#include <malloc.h>
#include <cutils/log.h>
#include <cutils/native_handle.h>