linux-user: Fix build if headers don't define _LINUX_CAPABILITY_VERSION_1
commitec864874bd1c1e13c82f4096fd3957d26c70a680
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 19 Mar 2014 16:07:30 +0000 (19 16:07 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 19 Mar 2014 18:19:57 +0000 (19 18:19 +0000)
treea0b537e15603ec761c94e68ac527e7555245c5f8
parent4c8821d13405056776d0255bb78925dac91996c3
linux-user: Fix build if headers don't define _LINUX_CAPABILITY_VERSION_1

Older kernel headers don't define _LINUX_CAPABILITY_VERSION_1.
Switch to using the older _LINUX_CAPABILITY_VERSION; newer headers
still define this for source compatibility.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reported-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Reviewed-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Acked-by: Riku Voipio <riku.voipio@iki.fi>
linux-user/syscall.c