OSDN Git Service

virtiofsd: Fix common header and define for QEMU builds
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 8 Feb 2019 11:48:42 +0000 (11:48 +0000)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 23 Jan 2020 16:41:36 +0000 (16:41 +0000)
commit09863ebc7e32a107235b3c815ad54d26cc64f07a
tree58834f4c9e17031c3f81ca2478a55125e901628d
parent30d8e49760712d65697ea517c53671bd1d214fc7
virtiofsd: Fix common header and define for QEMU builds

All of the fuse files include config.h and define GNU_SOURCE
where we don't have either under our build - remove them.
Fixup path to the kernel's fuse.h in the QEMUs world.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
tools/virtiofsd/buffer.c
tools/virtiofsd/fuse_i.h
tools/virtiofsd/fuse_log.c
tools/virtiofsd/fuse_lowlevel.c
tools/virtiofsd/fuse_opt.c
tools/virtiofsd/fuse_signals.c
tools/virtiofsd/helper.c
tools/virtiofsd/passthrough_ll.c