summaryrefslogtreecommitdiff
path: root/scripts/update-linux-headers.sh
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 /scripts/update-linux-headers.sh
parent2a19b229f6c2f7288bb8c2498bffb01d67810dee (diff)
downloadqemu-e2f6bac3010419426b636d2b307f66deecd60813.tar.gz
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 'scripts/update-linux-headers.sh')
-rwxr-xr-xscripts/update-linux-headers.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index 47378d93d4..f0e830c2d6 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update-linux-headers.sh
@@ -56,6 +56,7 @@ cp_virtio() {
-e 's/__bitwise__//' \
-e 's/__attribute__((packed))/QEMU_PACKED/' \
-e 's/__inline__/inline/' \
+ -e '/sys\/ioctl.h/d' \
"$f" > "$to/$header";
done
fi