[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] ddf31a: linux-user: Fix compilation when F_SE

From: GitHub
Subject: [Qemu-commits] [qemu/qemu] ddf31a: linux-user: Fix compilation when F_SETPIPE_SZ isn'...
Date: Fri, 01 Jul 2016 03:30:07 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: ddf31aa853a32925f8141dbcb66fdc84f999ece1
  Author: Peter Maydell <address@hidden>
  Date:   2016-06-30 (Thu, 30 Jun 2016)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  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 <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-id: address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]