Commit a121b7b0 authored by Committed by Alan Coopersmith
Remove makekeys dependency on X headers
This is the patch from https://bugs.freedesktop.org/show_bug.cgi?id=6669 by Pierre Ossman, reworked for master. Avoid using LIBS (which are for host, but we don't need) and rewrite makekeys slightly to avoid needing to include any X headers, which avoids potentially having -I with host paths in CFLAGS, which can cause standard headers e.g. stdio.h for the host to also be used, which can break things...
Showing with 6 additions and 5 deletions