We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a9c1184 + e1990dc commit c9646f2Copy full SHA for c9646f2
2 files changed
src/Makefile.am
@@ -1,7 +1,7 @@
1
AM_CPPFLAGS = -Wall -Werror -Wextra -pedantic -std=gnu99
2
lib_LTLIBRARIES = libsuinput.la
3
libsuinput_la_SOURCES = suinput.c
4
-libsuinput_la_LDFLAGS = -l:libudev.so.0 -version-info 5:0:1
+libsuinput_la_LDFLAGS = -l:libudev.so -version-info 5:0:1
5
include_HEADERS = suinput.h
6
noinst_HEADERS = libudev.h
7
pkgconfigdir = $(libdir)/pkgconfig
src/suinput.h
@@ -23,6 +23,11 @@
23
24
#include <linux/uinput.h>
25
26
+#ifdef __cplusplus
27
+extern "C" {
28
+#endif
29
+
30
31
int suinput_open(void);
32
33
int suinput_enable_event(int uinput_fd, uint16_t ev_type, uint16_t ev_code);
@@ -42,4 +47,9 @@ int suinput_syn(int uinput_fd);
42
47
43
48
int suinput_destroy(int uinput_fd);
44
49
50
51
+}
52
53
54
45
55
#endif /* SUINPUT_H */
0 commit comments