syscall.c: Fix build with older linux-headers
commit9c37146782e7850877d452da47dc451ba73aa62d
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 16 Aug 2016 09:47:43 +0000 (16 11:47 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 16 Aug 2016 15:14:48 +0000 (16 16:14 +0100)
tree6e394775a56ebb2f7c67aed3235dfa7aefadeb34
parent1451a7a673deecb905040f8d9cc9e9079a892b02
syscall.c: Fix build with older linux-headers

In c5dff280 we tried to make us understand netlink messages more.
So we've added a code that does some translation. However, the
code assumed linux-headers to be at least version 4.4 of it
because most of the symbols there (if not all of them) were added
in just that release. This, however, breaks build on systems with
older versions of the package.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Message-id: 23806aac6db3baf7e2cdab4c62d6e3468ce6b4dc.1471340849.git.mprivozn@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
linux-user/syscall.c