OSDN Git Service

gralloc0_register_buffer: initialize gralloc0 when needed
[android-x86/external-minigbm.git] / cros_gralloc / cros_gralloc_helpers.cc
index ca3cbd1..a718418 100644 (file)
@@ -9,8 +9,10 @@
 #include "i915_private_android.h"
 
 #include <cstdlib>
-#include <cutils/log.h>
+#include <log/log.h>
 #include <sync/sync.h>
+#include <errno.h>
+#include <unistd.h>
 
 const char* drmFormat2Str(int drm_format)
 {