From aa6853293a4c36cf674b6d0a3f4ab651f8f67a53 Mon Sep 17 00:00:00 2001
From: Federico Terzi <federicoterzi96@gmail.com>
Date: Sun, 28 Mar 2021 18:36:56 +0200
Subject: [PATCH] fix(detect): fix compilation warnings

---
 espanso-detect/build.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/espanso-detect/build.rs b/espanso-detect/build.rs
index 1622a4b..75e398a 100644
--- a/espanso-detect/build.rs
+++ b/espanso-detect/build.rs
@@ -43,7 +43,7 @@ fn cc_config() {
   if cfg!(not(feature = "wayland")) {
     cc::Build::new()
       .cpp(true)
-      .include("src/x11/native.h")
+      .include("src/x11")
       .file("src/x11/native.cpp")
       .compile("espansodetect");
 
@@ -54,7 +54,7 @@ fn cc_config() {
 
   cc::Build::new()
     .cpp(true)
-    .include("src/evdev/native.h")
+    .include("src/evdev")
     .file("src/evdev/native.cpp")
     .compile("espansodetectevdev");