summaryrefslogtreecommitdiff
path: root/src
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-15 15:44:24 +0200
commitc23befc36dc4aafe56a6fdf20145976915b9f892 (patch)
tree4fa1106c6fbc5b909ea2177df9868833a06f45d8 /src
parent30fda6464186321658738b4a265a92afa7ceb98d (diff)
downloadefl-c23befc36dc4aafe56a6fdf20145976915b9f892.tar.gz
modules: vnc: allow building for FreeBSD with a different header path
Original patch provided by phyb user CeDeROM. Fixes T8713
Diffstat (limited to 'src')
-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 @@
-#include <linux/input-event-codes.h>
+#if defined(__linux__)
+ #include <linux/input-event-codes.h>
+#elif defined(__FreeBSD__)
+ #include <dev/evdev/input-event-codes.h>
+#endif
#include <rfb/keysym.h>
#include <stdlib.h>
#include <limits.h>