summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-04-29 07:39:50 -0700
committerAndroid Code Review <code-review@android.com>2011-04-29 07:39:50 -0700
commitd1be1d02135917497866526ce12ef4c2548e63cb (patch)
treea634f17b68ecd52e81d90d118d9100db00f91dd0
parent67e71a870d882be851def98fb3e87c3a67a4b93e (diff)
parentca196ed978053d77a997cdf27e7653e48cb6928f (diff)
downloadlibhardware-d1be1d02135917497866526ce12ef4c2548e63cb.tar.gz
Merge "<hardware/qemu_pipe.h>: Allow inclusion from C++"
-rw-r--r--include/hardware/qemu_pipe.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/hardware/qemu_pipe.h b/include/hardware/qemu_pipe.h
index 146fea7e..fb0bf2f8 100644
--- a/include/hardware/qemu_pipe.h
+++ b/include/hardware/qemu_pipe.h
@@ -16,6 +16,10 @@
#ifndef ANDROID_INCLUDE_HARDWARE_QEMU_PIPE_H
#define ANDROID_INCLUDE_HARDWARE_QEMU_PIPE_H
+#include <sys/cdefs.h>
+
+__BEGIN_DECLS
+
/* Try to open a new Qemu fast-pipe. This function returns a file descriptor
* that can be used to communicate with a named service managed by the
* emulator.
@@ -40,4 +44,6 @@
*/
extern int qemu_pipe_open(const char* pipeName);
+__END_DECLS
+
#endif /* ANDROID_INCLUDE_HARDWARE_QEMUD_PIPE_H */