fix(inject): fix compilation warnings
This commit is contained in:
parent
1f0fe74ac1
commit
e29dbfc9d5
|
@ -38,7 +38,7 @@ fn cc_config() {
|
||||||
println!("cargo:rerun-if-changed=src/evdev/native.h");
|
println!("cargo:rerun-if-changed=src/evdev/native.h");
|
||||||
println!("cargo:rerun-if-changed=src/evdev/native.c");
|
println!("cargo:rerun-if-changed=src/evdev/native.c");
|
||||||
cc::Build::new()
|
cc::Build::new()
|
||||||
.include("src/evdev/native.h")
|
.include("src/evdev")
|
||||||
.file("src/evdev/native.c")
|
.file("src/evdev/native.c")
|
||||||
.compile("espansoinjectev");
|
.compile("espansoinjectev");
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
#include "native.h"
|
#include "native.h"
|
||||||
#include <linux/uinput.h>
|
#include <linux/uinput.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include <memory.h>
|
#include <memory.h>
|
||||||
|
|
||||||
unsigned long ui_dev_destroy()
|
unsigned long ui_dev_destroy()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user