From bb74044b15c6ed2575cc36b962aefcaeeda71363 Mon Sep 17 00:00:00 2001 From: "Stephen M. Webb" Date: Thu, 23 Feb 2012 22:31:15 -0500 Subject: Fix header compile problems under C++ (lp: #771763). --- include/evemu.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') 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 #include +#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 -- cgit v1.2.3