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

[Xen-changelog] [xen master] tools/blktap2: Fix missing header file



commit 1226317351b4154ed6460b778f2490614f47b9d4
Author:     Alistair Francis <alistair.francis@xxxxxxxxxx>
AuthorDate: Tue Dec 20 11:46:59 2016 -0800
Commit:     Wei Liu <wei.liu2@xxxxxxxxxx>
CommitDate: Thu Dec 22 10:55:15 2016 +0000

    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@xxxxxxxxxx>
    Reviewed-by: Doug Goldstein <cardoe@xxxxxxxxxx>
    Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 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
  */
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.