]> git.proxmox.com Git - mirror_qemu.git/commit - scripts/update-linux-headers.sh
update-linux-headers: Rename SW_MAX to SW_MAX_
authorMarkus Armbruster <armbru@redhat.com>
Thu, 8 Oct 2015 16:11:39 +0000 (18:11 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 9 Oct 2015 13:22:39 +0000 (15:22 +0200)
commitac98fa849e834f48e5a64cf4b22218ba4047e142
treee9ef75320f015ba50d889ed3eff7892ca6004215
parentb37686f7e84b22cfaf7fd01ac5133f2617cc3027
update-linux-headers: Rename SW_MAX to SW_MAX_

The next commit will compile hw/input/virtio-input.c and
hw/input/virtio-input-hid.c even when CONFIG_LINUX is off.  These
files include both "include/standard-headers/linux/input.h" and
<windows.h> then.  Doesn't work, because both define SW_MAX.  We don't
actually use it.  Patch input.h to define SW_MAX_ instead.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1444320700-26260-2-git-send-email-armbru@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
include/standard-headers/linux/input.h
scripts/update-linux-headers.sh