summaryrefslogtreecommitdiff
path: root/include/mtdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mtdev.h')
-rw-r--r--include/mtdev.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/mtdev.h b/include/mtdev.h
index 84625a5..15bc53b 100644
--- a/include/mtdev.h
+++ b/include/mtdev.h
@@ -29,6 +29,10 @@
29#ifndef _MTDEV_H 29#ifndef _MTDEV_H
30#define _MTDEV_H 30#define _MTDEV_H
31 31
32#ifdef __cplusplus
33extern "C" {
34#endif
35
32#include <linux/input.h> 36#include <linux/input.h>
33 37
34/* includes available in 2.6.30-rc5 */ 38/* includes available in 2.6.30-rc5 */
@@ -169,4 +173,8 @@ int mtdev_get(struct mtdev *dev, int fd, struct input_event* ev, int ev_max);
169 */ 173 */
170void mtdev_close(struct mtdev *dev); 174void mtdev_close(struct mtdev *dev);
171 175
176#ifdef __cplusplus
177}
178#endif
179
172#endif 180#endif