summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2020-06-12 13:25:01 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2020-06-12 13:33:43 +0200
commit1921656007914b2bcd0a0d81615225c79aae30df (patch)
treebca78999198a2c89d1a63f336caf26ad2e4160c5
parentf362e8a93e551033a4ef7bbdfb9cd56b63e6651e (diff)
modules: vnc: allow building for FreeBSD with a different header path
Original patch provided by phyb user CeDeROM. Fixes T8713
-rw-r--r--src/modules/ecore_evas/vnc_server/ecore_evas_vnc_server_fb_keymap.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/ecore_evas/vnc_server/ecore_evas_vnc_server_fb_keymap.c b/src/modules/ecore_evas/vnc_server/ecore_evas_vnc_server_fb_keymap.c
index 636026f4b1..85110d4d7f 100644
--- a/src/modules/ecore_evas/vnc_server/ecore_evas_vnc_server_fb_keymap.c
+++ b/src/modules/ecore_evas/vnc_server/ecore_evas_vnc_server_fb_keymap.c
@@ -1,4 +1,8 @@
1#include <linux/input-event-codes.h> 1#if defined(__linux__)
2 #include <linux/input-event-codes.h>
3#elif defined(__FreeBSD__)
4 #include <dev/evdev/input-event-codes.h>
5#endif
2#include <rfb/keysym.h> 6#include <rfb/keysym.h>
3#include <stdlib.h> 7#include <stdlib.h>
4#include <limits.h> 8#include <limits.h>