aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2020-07-23 20:24:57 +0100
committerGerd Hoffmann <kraxel@redhat.com>2020-07-24 16:15:28 +0200
commit2c9728c0db8c02bf2f4f067548433af9f4102948 (patch)
tree295d8e857530c0da5b140e72c8d5cd2130336561
parent8d942986be27bb40e6faca2032af763d7db57082 (diff)
downloadqemu-2c9728c0db8c02bf2f4f067548433af9f4102948.zip
qemu-2c9728c0db8c02bf2f4f067548433af9f4102948.tar.gz
qemu-2c9728c0db8c02bf2f4f067548433af9f4102948.tar.bz2
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 09cf260..a7a244a 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"