diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-03-15 17:08:29 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-03-15 17:08:29 +0000 |
commit | bc43f6118dd93beb8302430855ab240cce663ade (patch) | |
tree | 6b29f9f5d808c2dd817c3f5b308cdd890a00d20f /tools/blktap2/vhd | |
parent | ddf12db57949a7becc3e991007ce12e28c2768bc (diff) | |
download | xen-bc43f6118dd93beb8302430855ab240cce663ade.tar.gz xen-bc43f6118dd93beb8302430855ab240cce663ade.tar.bz2 xen-bc43f6118dd93beb8302430855ab240cce663ade.zip |
blktap/fs-back: Build fixes for Fedora 13
1. Some files use stat, mkfifo, mkdir etc. without including
sys/stat.h
2. Some programs link against libpthread without a -lpthread compile
option. The compile used to work if this library happened to be used
by one of the other libraries that was being linked against, but
Fedora 13 has stopped allowing this.
From: M A Young <m.a.young@durham.ac.uk>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'tools/blktap2/vhd')
-rw-r--r-- | tools/blktap2/vhd/lib/libvhd.c | 1 | ||||
-rw-r--r-- | tools/blktap2/vhd/lib/vhd-util-scan.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/blktap2/vhd/lib/libvhd.c b/tools/blktap2/vhd/lib/libvhd.c index ae691a0a1e..bc9649a639 100644 --- a/tools/blktap2/vhd/lib/libvhd.c +++ b/tools/blktap2/vhd/lib/libvhd.c @@ -36,6 +36,7 @@ #include <libgen.h> #include <iconv.h> #include <sys/mman.h> +#include <sys/stat.h> #include "libvhd.h" #include "relative-path.h" diff --git a/tools/blktap2/vhd/lib/vhd-util-scan.c b/tools/blktap2/vhd/lib/vhd-util-scan.c index 8fa9376ec7..e87a7eae00 100644 --- a/tools/blktap2/vhd/lib/vhd-util-scan.c +++ b/tools/blktap2/vhd/lib/vhd-util-scan.c @@ -34,6 +34,7 @@ #include <unistd.h> #include <fnmatch.h> #include <libgen.h> /* for basename() */ +#include <sys/stat.h> #include "list.h" #include "libvhd.h" |