summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-04-29 16:38:51 +0200
committerDavid 'Digit' Turner <digit@android.com>2011-04-29 16:38:51 +0200
commitca196ed978053d77a997cdf27e7653e48cb6928f (patch)
treea634f17b68ecd52e81d90d118d9100db00f91dd0
parent67e71a870d882be851def98fb3e87c3a67a4b93e (diff)
downloadlibhardware-ca196ed978053d77a997cdf27e7653e48cb6928f.tar.gz
<hardware/qemu_pipe.h>: Allow inclusion from C++
Change-Id: Ic33b5daf7a01e8fe638ea1ccc54ed76561745abe
-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 */