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 @@ | |||
| 29 | #ifndef _MTDEV_PLUMBING_H | 29 | #ifndef _MTDEV_PLUMBING_H |
| 30 | #define _MTDEV_PLUMBING_H | 30 | #define _MTDEV_PLUMBING_H |
| 31 | 31 | ||
| 32 | #ifdef __cplusplus | ||
| 33 | extern "C" { | ||
| 34 | #endif | ||
| 35 | |||
| 32 | #include <mtdev.h> | 36 | #include <mtdev.h> |
| 33 | 37 | ||
| 34 | /** | 38 | /** |
| @@ -102,4 +106,8 @@ int mtdev_empty(struct mtdev *dev); | |||
| 102 | */ | 106 | */ |
| 103 | void mtdev_get_event(struct mtdev *dev, struct input_event* ev); | 107 | void mtdev_get_event(struct mtdev *dev, struct input_event* ev); |
| 104 | 108 | ||
| 109 | #ifdef __cplusplus | ||
| 110 | } | ||
| 111 | #endif | ||
| 112 | |||
| 105 | #endif | 113 | #endif |
