From 9679eeea4c0071b911f7591a09e8667086e447db Mon Sep 17 00:00:00 2001 From: Hector Martin Date: Thu, 1 Jul 2010 20:33:22 +0200 Subject: Add extern "C" to libusbmuxd headers --- libusbmuxd/usbmuxd-proto.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libusbmuxd/usbmuxd-proto.h') diff --git a/libusbmuxd/usbmuxd-proto.h b/libusbmuxd/usbmuxd-proto.h index 390cd3d..be9e709 100644 --- a/libusbmuxd/usbmuxd-proto.h +++ b/libusbmuxd/usbmuxd-proto.h @@ -34,6 +34,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA #define USBMUXD_SOCKET_FILE "/var/run/usbmuxd" #endif +#ifdef __cplusplus +extern "C" { +#endif + enum usbmuxd_result { RESULT_OK = 0, RESULT_BADCOMMAND = 1, @@ -86,4 +90,8 @@ struct usbmuxd_device_record { uint32_t location; } __attribute__((__packed__)); +#ifdef __cplusplus +} +#endif + #endif /* __USBMUXD_PROTO_H */ -- cgit v1.1-32-gdbae