OSDN Git Service

qemu_pipe: fix Mac build error.
authorDavid Turner <digit@android.com>
Tue, 9 Aug 2011 08:45:19 +0000 (10:45 +0200)
committerDavid Turner <digit@android.com>
Tue, 9 Aug 2011 08:45:19 +0000 (10:45 +0200)
The <hardware/qemu_pipe.h> header was missing an include
that causes the code under development/tools/emulator/opengl
to fail to compile on OS X.

You need to define BUILD_EMULATOR_OPENGL=true in your
environment, otherwise this code doesn't get built yet by default.

Change-Id: Ia1b48c0ab84f493f3c9f95030d9165961069fb6e

include/hardware/qemu_pipe.h

index 930228e..000c99e 100644 (file)
@@ -23,6 +23,7 @@
 #include <pthread.h>  /* for pthread_once() */
 #include <stdlib.h>
 #include <stdio.h>
+#include <errno.h>
 
 #ifndef D
 #  define  D(...)   do{}while(0)