summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Maydell2020-07-23 21:24:57 +0200
committerGerd Hoffmann2020-07-24 16:15:28 +0200
commit2c9728c0db8c02bf2f4f067548433af9f4102948 (patch)
tree295d8e857530c0da5b140e72c8d5cd2130336561
parenthw: Only compile the usb-dwc2 controller if it is really needed (diff)
downloadqemu-2c9728c0db8c02bf2f4f067548433af9f4102948.tar.gz
qemu-2c9728c0db8c02bf2f4f067548433af9f4102948.tar.xz
qemu-2c9728c0db8c02bf2f4f067548433af9f4102948.zip
hw/input/virtio-input-hid.c: Don't undef CONFIG_CURSES
virtio-input-hid.c undefines CONFIG_CURSES before including ui/console.h. However since commits e2f82e924d057935 and b0766612d16da18 that header does not have behaviour dependent on CONFIG_CURSES. Remove the now-unneeded undef. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Message-id: 20200723192457.28136-1-peter.maydell@linaro.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r--hw/input/virtio-input-hid.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/input/virtio-input-hid.c b/hw/input/virtio-input-hid.c
index 09cf260985..a7a244a95d 100644
--- a/hw/input/virtio-input-hid.c
+++ b/hw/input/virtio-input-hid.c
@@ -12,7 +12,6 @@
#include "hw/qdev-properties.h"
#include "hw/virtio/virtio-input.h"
-#undef CONFIG_CURSES
#include "ui/console.h"
#include "standard-headers/linux/input.h"