diff mbox series

[PULL,2/3] hw/input/virtio-input-hid.c: Don't undef CONFIG_CURSES

Message ID 20200724164258.24886-3-kraxel@redhat.com
State New
Headers show
Series Fixes 20200724 patches | expand

Commit Message

Gerd Hoffmann July 24, 2020, 4:42 p.m. UTC
From: Peter Maydell <peter.maydell@linaro.org>


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 | 1 -
 1 file changed, 1 deletion(-)

-- 
2.18.4
diff mbox series

Patch

diff --git a/hw/input/virtio-input-hid.c b/hw/input/virtio-input-hid.c
index 09cf2609854f..a7a244a95dbb 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"