]> source.dussan.org Git - tigervnc.git/commit
Rename Input.h to vncInput.h to fix building on case-insensitive FS 1291/head
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Wed, 14 Jul 2021 13:13:54 +0000 (14:13 +0100)
committerAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Thu, 15 Jul 2021 08:48:00 +0000 (09:48 +0100)
commit2fb2a3eb29d51c30970d628c563f69a8b4ef3262
tree64f47add9eca03387cf5d4f7cd31d3a9481637e3
parentdfc9421dcf0fc97ad99638df501b95cb162e95b2
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"
```
unix/xserver/hw/vnc/Input.c [deleted file]
unix/xserver/hw/vnc/Input.h [deleted file]
unix/xserver/hw/vnc/InputXKB.c [deleted file]
unix/xserver/hw/vnc/Makefile.am
unix/xserver/hw/vnc/XserverDesktop.cc
unix/xserver/hw/vnc/XserverDesktop.h
unix/xserver/hw/vnc/vncInput.c [new file with mode: 0644]
unix/xserver/hw/vnc/vncInput.h [new file with mode: 0644]
unix/xserver/hw/vnc/vncInputXKB.c [new file with mode: 0644]