32 lines
959 B
Diff
32 lines
959 B
Diff
|
From 1226317351b4154ed6460b778f2490614f47b9d4 Mon Sep 17 00:00:00 2001
|
||
|
From: Alistair Francis <alistair.francis@xilinx.com>
|
||
|
Date: Tue, 20 Dec 2016 11:46:59 -0800
|
||
|
Subject: [PATCH] tools/blktap2: Fix missing header file
|
||
|
|
||
|
To avoid build errors relating to missing declarations of ssize_t add
|
||
|
the appropriate header file to atomic.h.
|
||
|
|
||
|
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
|
||
|
Reviewed-by: Doug Goldstein <cardoe@cardoe.com>
|
||
|
Acked-by: Wei Liu <wei.liu2@citrix.com>
|
||
|
---
|
||
|
tools/blktap2/include/atomicio.h | 2 ++
|
||
|
1 file changed, 2 insertions(+)
|
||
|
|
||
|
diff --git a/tools/blktap2/include/atomicio.h b/tools/blktap2/include/atomicio.h
|
||
|
index 7eccf20..5a1120e 100644
|
||
|
--- a/tools/blktap2/include/atomicio.h
|
||
|
+++ b/tools/blktap2/include/atomicio.h
|
||
|
@@ -25,6 +25,8 @@
|
||
|
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||
|
*/
|
||
|
|
||
|
+#include <sys/types.h>
|
||
|
+
|
||
|
/*
|
||
|
* Ensure all of data on socket comes through. f==read || f==vwrite
|
||
|
*/
|
||
|
--
|
||
|
2.7.4
|
||
|
|