aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2015-07-14 13:44:12 +0200
committerGerd Hoffmann <kraxel@redhat.com>2015-07-16 17:34:41 +0200
commite2f6bac3010419426b636d2b307f66deecd60813 (patch)
tree05d1bdbe21a51f45d0bf4d02e81d6f7e0274f69c /hw
parent2a19b229f6c2f7288bb8c2498bffb01d67810dee (diff)
virtio-input: move sys/ioctl.h include
Drop from include/standard-headers/linux/input.h Add to hw/input/virtio-input-host.c instead. That allows to build virtio-input (except pass-through) on windows. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/input/virtio-input-host.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/input/virtio-input-host.c b/hw/input/virtio-input-host.c
index f7e3d844e6..8978f16bae 100644
--- a/hw/input/virtio-input-host.c
+++ b/hw/input/virtio-input-host.c
@@ -11,6 +11,7 @@
#include "hw/virtio/virtio.h"
#include "hw/virtio/virtio-input.h"
+#include <sys/ioctl.h>
#include "standard-headers/linux/input.h"
/* ----------------------------------------------------------------- */