OSDN Git Service

Add missing include for calloc/free.
authorDan Albert <danalbert@google.com>
Fri, 8 May 2015 06:42:54 +0000 (23:42 -0700)
committerDan Albert <danalbert@google.com>
Fri, 8 May 2015 06:42:54 +0000 (23:42 -0700)
Bug: http://b/15193147
Change-Id: Ibb2fb6fef4ca6a23eb2f53111c4b01847fe468b2

hwcomposer.cpp

index f2e04b4..4256998 100644 (file)
 
 #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>