OSDN Git Service

Add missing includes.
authorElliott Hughes <enh@google.com>
Thu, 29 Jan 2015 03:54:13 +0000 (19:54 -0800)
committerElliott Hughes <enh@google.com>
Thu, 29 Jan 2015 03:54:13 +0000 (19:54 -0800)
Change-Id: Ia74cceea707e51195a570eed37d4b334ac413773

modules/hwcomposer/hwcomposer.cpp
modules/tv_input/tv_input.cpp

index f0a5512..9d1aa34 100644 (file)
@@ -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>
index bc02786..114e80e 100644 (file)
@@ -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>