From: Ran Benita Date: Tue, 4 Feb 2014 20:18:12 +0000 (+0200) Subject: x11: add missing #ifdef __cplusplus to header X-Git-Tag: xkbcommon-0.4.1~91 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=779eec3b8b4b3f1189b8677e3c47e6f9608af5d9;p=platform%2Fupstream%2Flibxkbcommon.git x11: add missing #ifdef __cplusplus to header Signed-off-by: Ran Benita --- diff --git a/xkbcommon/xkbcommon-x11.h b/xkbcommon/xkbcommon-x11.h index 4ec9b64..d9e2a4f 100644 --- a/xkbcommon/xkbcommon-x11.h +++ b/xkbcommon/xkbcommon-x11.h @@ -27,6 +27,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + /** * @file * libxkbcommon-x11 API - Additional X11 support for xkbcommon. @@ -163,4 +167,8 @@ xkb_x11_state_new_from_device(struct xkb_keymap *keymap, /** @} */ +#ifdef __cplusplus +} /* extern "C" */ #endif + +#endif /* _XKBCOMMON_X11_H */