add extern "C" for C++ inclusion.
This commit is contained in:
parent
9a69229544
commit
16fb6ff6ff
1 changed files with 3 additions and 1 deletions
|
@ -26,7 +26,9 @@
|
||||||
#define LIBEVDEV_H
|
#define LIBEVDEV_H
|
||||||
|
|
||||||
#include <linux/input.h>
|
#include <linux/input.h>
|
||||||
|
extern "C" {
|
||||||
extern int libevdev_event_code_from_name(unsigned int type, const char *name);
|
extern int libevdev_event_code_from_name(unsigned int type, const char *name);
|
||||||
extern const char * libevdev_event_code_get_name(unsigned int type, unsigned int code);
|
extern const char * libevdev_event_code_get_name(unsigned int type, unsigned int code);
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue