x11: add missing #ifdef __cplusplus to header

Signed-off-by: Ran Benita <ran234@gmail.com>
master
Ran Benita 2014-02-04 22:18:12 +02:00
parent 109fe7059c
commit 779eec3b8b
1 changed files with 8 additions and 0 deletions

View File

@ -27,6 +27,10 @@
#include <xcb/xcb.h> #include <xcb/xcb.h>
#include <xkbcommon/xkbcommon.h> #include <xkbcommon/xkbcommon.h>
#ifdef __cplusplus
extern "C" {
#endif
/** /**
* @file * @file
* libxkbcommon-x11 API - Additional X11 support for xkbcommon. * 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
#endif /* _XKBCOMMON_X11_H */