projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
470dd6b
)
linux-user: Conditionalize TUNSETVNETLE
author
Richard Henderson
<richard.henderson@linaro.org>
Mon, 4 Jan 2021 23:40:42 +0000
(13:40 -1000)
committer
Richard Henderson
<richard.henderson@linaro.org>
Thu, 7 Jan 2021 15:09:06 +0000
(
05:09
-1000)
This fixes the build for older ppc64 kernel headers.
Fixes: 6addf06a3c4
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
linux-user/ioctls.h
patch
|
blob
|
history
diff --git
a/linux-user/ioctls.h
b/linux-user/ioctls.h
index 661b5daa9fd837d004925915972a66663c5e2794..7193c3b2269abb37ff546d54d492823baa662947 100644
(file)
--- a/
linux-user/ioctls.h
+++ b/
linux-user/ioctls.h
@@
-748,8
+748,10
@@
IOCTL(TUNSETQUEUE, IOC_W, MK_PTR(MK_STRUCT(STRUCT_short_ifreq)))
IOCTL(TUNSETIFINDEX , IOC_W, MK_PTR(TYPE_INT))
/* TUNGETFILTER is not supported: see TUNATTACHFILTER. */
+#ifdef TUNSETVNETLE
IOCTL(TUNSETVNETLE, IOC_W, MK_PTR(TYPE_INT))
IOCTL(TUNGETVNETLE, IOC_R, MK_PTR(TYPE_INT))
+#endif
#ifdef TUNSETVNETBE
IOCTL(TUNSETVNETBE, IOC_W, MK_PTR(TYPE_INT))
IOCTL(TUNGETVNETBE, IOC_R, MK_PTR(TYPE_INT))