hw/input/virtio-input-hid.c: Don't undef CONFIG_CURSES
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 23 Jul 2020 19:24:57 +0000 (20:24 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 24 Jul 2020 14:15:28 +0000 (16:15 +0200)
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>
hw/input/virtio-input-hid.c

index 09cf2609854fa1e40c7c4bb82aa06765c27c8f9a..a7a244a95dbb50dc0cc182a9a6b4af2e55a38723 100644 (file)
@@ -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"