mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
a/os: Add extern "C" to hid header
This commit is contained in:
parent
d969297c50
commit
0f2635a6eb
|
@ -13,6 +13,10 @@
|
|||
#include "xrt/xrt_config.h"
|
||||
#include "xrt/xrt_compiler.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
/*!
|
||||
* Representing a single hid interface on a device.
|
||||
|
@ -69,3 +73,7 @@ os_hid_destroy(struct os_hid_device *hid_dev)
|
|||
int
|
||||
os_hid_open_hidraw(const char *path, struct os_hid_device **out_hid);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue