aboutsummaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw/vnc/XserverDesktop.h
diff options
context:
space:
mode:
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2021-07-14 14:13:54 +0100
committerAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2021-07-15 09:48:00 +0100
commit2fb2a3eb29d51c30970d628c563f69a8b4ef3262 (patch)
tree64f47add9eca03387cf5d4f7cd31d3a9481637e3 /unix/xserver/hw/vnc/XserverDesktop.h
parentdfc9421dcf0fc97ad99638df501b95cb162e95b2 (diff)
downloadtigervnc-2fb2a3eb29d51c30970d628c563f69a8b4ef3262.tar.gz
tigervnc-2fb2a3eb29d51c30970d628c563f69a8b4ef3262.zip
Rename Input.h to vncInput.h to fix building on case-insensitive FS
I am cross-compiling from macOS for a FreeBSD-derived system so my host file system is case insensitive but the target isn't. Without this change I get the following warnings which show that the vnc "Input.h" is being included from mi/mi.h instead of the xserver "input.h": ``` In file included from /Users/alex/cheri/xvnc-server/hw/vnc/Input.c:33: /Users/alex/cheri/xvnc-server/mi/mi.h:55:10: warning: non-portable path to file '"Input.h"'; specified path differs in case from file name on disk [-Wnonportable-include-path] #include "input.h" ^~~~~~~~~ "Input.h" ```
Diffstat (limited to 'unix/xserver/hw/vnc/XserverDesktop.h')
-rw-r--r--unix/xserver/hw/vnc/XserverDesktop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/xserver/hw/vnc/XserverDesktop.h b/unix/xserver/hw/vnc/XserverDesktop.h
index 383e0bbf..57ee8083 100644
--- a/unix/xserver/hw/vnc/XserverDesktop.h
+++ b/unix/xserver/hw/vnc/XserverDesktop.h
@@ -36,7 +36,7 @@
#include <rfb/Configuration.h>
#include <rfb/Timer.h>
#include <unixcommon.h>
-#include "Input.h"
+#include "vncInput.h"
namespace rfb {
class VNCServerST;