diff options
Diffstat (limited to 'include/mtdev-plumbing.h')
-rw-r--r-- | include/mtdev-plumbing.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/mtdev-plumbing.h b/include/mtdev-plumbing.h index 137fbc2..cadc1f7 100644 --- a/include/mtdev-plumbing.h +++ b/include/mtdev-plumbing.h @@ -29,6 +29,10 @@ #ifndef _MTDEV_PLUMBING_H #define _MTDEV_PLUMBING_H +#ifdef __cplusplus +extern "C" { +#endif + #include <mtdev.h> /** @@ -102,4 +106,8 @@ int mtdev_empty(struct mtdev *dev); */ void mtdev_get_event(struct mtdev *dev, struct input_event* ev); +#ifdef __cplusplus +} +#endif + #endif |