From e6d0d202f3c3f296b6865a63d87a7c9182b63ae2 Mon Sep 17 00:00:00 2001 From: Oleksandr Tymoshenko Date: Tue, 4 Oct 2016 14:33:05 -0700 Subject: Add evdev support for FreeBSD FreeBSD 12 has evdev implementation dropin-compatible with Linux's /dev/input. Add #ifdef wrappers around platform-specific headers. Change-Id: Ia50c3f2d2e9f0f3689a92e327305d5e7547e9407 Reviewed-by: Laszlo Agocs --- src/platformsupport/devicediscovery/qdevicediscovery_static.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/platformsupport/devicediscovery') diff --git a/src/platformsupport/devicediscovery/qdevicediscovery_static.cpp b/src/platformsupport/devicediscovery/qdevicediscovery_static.cpp index 5c72dbe7e2..a1575677f5 100644 --- a/src/platformsupport/devicediscovery/qdevicediscovery_static.cpp +++ b/src/platformsupport/devicediscovery/qdevicediscovery_static.cpp @@ -47,7 +47,11 @@ #include #include +#ifdef Q_OS_FREEBSD +#include +#else #include +#endif #include /* android (and perhaps some other linux-derived stuff) don't define everything -- cgit v1.2.3