mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-25 01:10:10 +01:00
Add extern C guards to libevdev-uinput.h
Reported-by: Stanisław Halik <sthalik@misaki.pl> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
c5c7c914af
commit
c365d22b70
1 changed files with 7 additions and 0 deletions
|
|
@ -23,6 +23,10 @@
|
|||
#ifndef LIBEVDEV_UINPUT_H
|
||||
#define LIBEVDEV_UINPUT_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <libevdev/libevdev.h>
|
||||
|
||||
struct libevdev_uinput;
|
||||
|
|
@ -226,5 +230,8 @@ int libevdev_uinput_write_event(const struct libevdev_uinput *uinput_dev,
|
|||
unsigned int type,
|
||||
unsigned int code,
|
||||
int value);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* LIBEVDEV_UINPUT_H */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue