summary refs log tree commit diff stats
path: root/include/standard-headers/linux/input-event-codes.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-09-07 03:01:55 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-09-21 11:22:34 +0200
commit38b01a997e6678b4ba86ab12a78a39b7d94ee7d0 (patch)
tree3d193ad337cd84adab7fc2d4dab541ec6468a3c5 /include/standard-headers/linux/input-event-codes.h
parent053a4177817db307ec854356e95b5b350800a216 (diff)
downloadfocaccia-qemu-38b01a997e6678b4ba86ab12a78a39b7d94ee7d0.tar.gz
focaccia-qemu-38b01a997e6678b4ba86ab12a78a39b7d94ee7d0.zip
hw/input/tsc2xxx: Reduce MouseTransformInfo structure exposure
Commit a5d7eb6534a ("Add TSC2301 touchscreen & keypad controller")
added the MouseTransformInfo declaration in "ui/console.h",
however it is only used in "hw/input/tsc2xxx.h".
Reduce the structure exposure by moving it to the single include
where it is used.

This should fix a build failure on OpenBSD:

  In file included from hw/arm/nseries.c:30:
  In file included from include/hw/arm/omap.h:24:
  In file included from include/hw/input/tsc2xxx.h:14:
  include/ui/console.h:11:11: fatal error: 'epoxy/gl.h' file not found
  # include <epoxy/gl.h>
            ^~~~~~~~~~~~
  1 error generated.
  gmake: *** [Makefile.ninja:1735:
  libqemu-aarch64-softmmu.fa.p/hw_arm_nseries.c.o] Error 1

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20200907010155.815131-1-f4bug@amsat.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/standard-headers/linux/input-event-codes.h')
0 files changed, 0 insertions, 0 deletions