Commit 28ab24cd55 excluded too much in wxUSE_DISPLAY==0 case, we still need X11 headers when not using wxUSE_DISPLAY.
28ab24cd55