diff options
author | Stephen M. Webb <stephen.webb@canonical.com> | 2012-02-23 22:31:15 -0500 |
---|---|---|
committer | Stephen M. Webb <stephen.webb@canonical.com> | 2012-02-23 22:31:15 -0500 |
commit | bb74044b15c6ed2575cc36b962aefcaeeda71363 (patch) | |
tree | 30c6824e22bd6cac7225aacce2223870f44c6e01 /include | |
parent | 703c5339e407ca13376b16cbc1bfd8d4402cb4b5 (diff) |
Fix header compile problems under C++ (lp: #771763).
Diffstat (limited to 'include')
-rw-r--r-- | include/evemu.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/evemu.h b/include/evemu.h index bfcd81e..3d8f549 100644 --- a/include/evemu.h +++ b/include/evemu.h @@ -47,6 +47,10 @@ #include <errno.h> #include <linux/input.h> +#ifdef __cplusplus +extern "C" { +#endif + #define EVEMU_VERSION 0x00010000 /** @@ -389,4 +393,8 @@ int evemu_create(const struct evemu_device *dev, int fd); */ void evemu_destroy(int fd); +#ifdef __cplusplus +} +#endif + #endif |