modules: vnc: allow building for FreeBSD with a different header path

Original patch provided by phyb user CeDeROM.

Fixes T8713
This commit is contained in:
Stefan Schmidt 2020-06-12 13:25:01 +02:00
parent f362e8a93e
commit 1921656007
1 changed files with 5 additions and 1 deletions

View File

@ -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>