Commit 5b2884cb0203cc63bf9753f8b55ea4c6c6f19cfb

Ozkan Sezer 2022-09-12T20:28:00

apply commit d0a3570300812bc81888e7a7eadb9311621dc9a7 to cmake side too.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a189862..00014e4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1388,6 +1388,7 @@ elseif(UNIX AND NOT APPLE AND NOT RISCOS AND NOT HAIKU)
       check_c_source_compiles("
           #include <linux/kd.h>
           #include <linux/keyboard.h>
+          #include <sys/ioctl.h>
           int main(int argc, char **argv) {
               struct kbentry kbe;
               kbe.kb_table = KG_CTRL;