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-15 15:44:24 +0200
commitc23befc36dc4aafe56a6fdf20145976915b9f892 (patch)
tree4fa1106c6fbc5b909ea2177df9868833a06f45d8
parent30fda6464186321658738b4a265a92afa7ceb98d (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>