qemu-e2k/linux-user
Peter Maydell ddf31aa853 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
2016-06-30 19:27:51 +01:00
..
aarch64
alpha
arm linux-user: arm: Remove ARM_cpsr and similar #defines 2016-05-27 14:50:39 +03:00
cris linux-user: Support for restarting system calls for CRIS targets 2016-05-27 14:49:50 +03:00
host linux-user: Provide safe_syscall for ppc64 2016-06-26 13:17:22 +03:00
i386
m68k linux-user: Support for restarting system calls for M68K targets 2016-05-27 14:49:50 +03:00
microblaze linux-user: Support for restarting system calls for Microblaze targets 2016-05-27 14:49:51 +03:00
mips
mips64
openrisc linux-user: Support for restarting system calls for OpenRISC targets 2016-05-27 14:49:50 +03:00
ppc
s390x linux-user: Support for restarting system calls for S390 targets 2016-05-27 14:49:50 +03:00
sh4
sparc
sparc64
tilegx linux-user: Support for restarting system calls for tilegx targets 2016-05-27 14:49:50 +03:00
unicore32
x86_64
elfload.c os-posix: include sys/mman.h 2016-06-16 18:39:03 +02:00
errno_defs.h
flat.h
flatload.c os-posix: include sys/mman.h 2016-06-16 18:39:03 +02:00
ioctls.h
linux_loop.h
linuxload.c
m68k-sim.c
main.c * serial port fixes (Paolo) 2016-06-29 19:14:48 +01:00
Makefile.objs linux-user: Provide safe_syscall for fixing races between signals and syscalls 2016-05-27 14:49:51 +03:00
mmap.c os-posix: include sys/mman.h 2016-06-16 18:39:03 +02:00
qemu.h linux-user: Don't use sigfillset() on uc->uc_sigmask 2016-06-26 13:17:20 +03:00
safe-syscall.S linux-user: Provide safe_syscall for fixing races between signals and syscalls 2016-05-27 14:49:51 +03:00
signal.c linux-user: Don't use sigfillset() on uc->uc_sigmask 2016-06-26 13:17:20 +03:00
socket.h
strace.c linux-user: fix clone() strace 2016-06-26 13:17:21 +03:00
strace.list linux-user: update get_thread_area/set_thread_area strace 2016-06-26 13:17:21 +03:00
syscall_defs.h linux-user: add socketcall() strace 2016-06-26 13:17:21 +03:00
syscall_types.h
syscall.c linux-user: Fix compilation when F_SETPIPE_SZ isn't defined 2016-06-30 19:27:51 +01:00
target_flat.h
trace-events trace: split out trace events for linux-user/ directory 2016-06-20 17:22:17 +01:00
uaccess.c
uname.c
uname.h
vm86.c