diff options
Diffstat (limited to 'util/cros_ec_dev.h')
-rw-r--r-- | util/cros_ec_dev.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/util/cros_ec_dev.h b/util/cros_ec_dev.h index 7ff87aed9a..85132a8051 100644 --- a/util/cros_ec_dev.h +++ b/util/cros_ec_dev.h @@ -8,7 +8,11 @@ #include <linux/ioctl.h> #include <linux/types.h> -#include "include/ec_commands.h" +#include "ec_commands.h" + +#ifdef __cplusplus +extern "C" { +#endif #define CROS_EC_DEV_NAME "cros_ec" #define CROS_EC_DEV_VERSION "1.0.0" @@ -87,4 +91,8 @@ struct cros_ec_readmem_v2 { struct cros_ec_readmem_v2) #define CROS_EC_DEV_IOCEVENTMASK_V2 _IO(CROS_EC_DEV_IOC_V2, 2) +#ifdef __cplusplus +} +#endif + #endif /* __UTIL_CROS_EC_DEV_H */ |