syscall.c: Redefine IFLA_* enums
commit60c6b790fc5dc26418dca42a77bab925ca7bac60
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 19 Aug 2016 08:06:40 +0000 (19 10:06 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 19 Aug 2016 08:47:51 +0000 (19 09:47 +0100)
tree485a4da0ee447dcb65bd1ec60976abae719d5298
parentaee5f8f98ecadf05cce20c47e8d88cfae69b1790
syscall.c: Redefine IFLA_* enums

In 9c37146782 I've tried to fix a broken build with older
linux-headers. However, I didn't do it properly. The solution
implemented here is to grab the enums that caused the problem
initially, and rename their values so that they are "QEMU_"
prefixed. In order to guarantee matching values with actual
enums from linux-headers, the enums are seeded with starting
values from the original enums.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-id: 75c14d6e8a97c4ff3931d69c13eab7376968d8b4.1471593869.git.mprivozn@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
linux-user/syscall.c