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/drivers/block-remus.c | |
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/drivers/block-remus.c')
-rw-r--r-- | tools/blktap2/drivers/block-remus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/blktap2/drivers/block-remus.c b/tools/blktap2/drivers/block-remus.c index a068878385..f6da984e27 100644 --- a/tools/blktap2/drivers/block-remus.c +++ b/tools/blktap2/drivers/block-remus.c @@ -57,6 +57,7 @@ #include <sys/param.h> #include <sys/sysctl.h> #include <unistd.h> +#include <sys/stat.h> /* timeout for reads and writes in ms */ #define HEARTBEAT_MS 1000 |