summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Turner <digit@android.com>2011-08-09 10:45:19 +0200
committerDavid Turner <digit@android.com>2011-08-09 10:45:19 +0200
commit554566e1aecfc2764038e1dbc2139ee1122861a9 (patch)
treea0154f3c83bf20f646d23cb112a395de1091cc4b
parent079ff13b07b41d49c4d2f961ba6131960bd81c89 (diff)
downloadlibhardware-554566e1aecfc2764038e1dbc2139ee1122861a9.tar.gz
qemu_pipe: fix Mac build error.
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
-rw-r--r--include/hardware/qemu_pipe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hardware/qemu_pipe.h b/include/hardware/qemu_pipe.h
index 930228e8..000c99ee 100644
--- a/include/hardware/qemu_pipe.h
+++ b/include/hardware/qemu_pipe.h
@@ -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)