Browse Source

apply commit d0a3570300812bc81888e7a7eadb9311621dc9a7 to cmake side too.

Ozkan Sezer 2 years ago
parent
commit
5b2884cb02
1 changed files with 1 additions and 0 deletions
  1. 1 0
      CMakeLists.txt

+ 1 - 0
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;