summaryrefslogtreecommitdiffstats
path: root/qobject/json-streamer.c
diff options
context:
space:
mode:
authorPeter Maydell2016-06-30 18:33:49 +0200
committerPeter Maydell2016-06-30 20:27:51 +0200
commitddf31aa853a32925f8141dbcb66fdc84f999ece1 (patch)
tree207b025874af090ca3083d7f1aa9b711574b7917 /qobject/json-streamer.c
parentpcspk: fix KVM (diff)
downloadqemu-ddf31aa853a32925f8141dbcb66fdc84f999ece1.tar.gz
qemu-ddf31aa853a32925f8141dbcb66fdc84f999ece1.tar.xz
qemu-ddf31aa853a32925f8141dbcb66fdc84f999ece1.zip
linux-user: Fix compilation when F_SETPIPE_SZ isn't defined
Older kernels don't have F_SETPIPE_SZ and F_GETPIPE_SZ (in particular RHEL6's system headers don't define these). Add ifdefs so that we can gracefully fall back to not supporting those guest ioctls rather than failing to build. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-id: 1467304429-21470-1-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'qobject/json-streamer.c')
0 files changed, 0 insertions, 0 deletions