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

[Xen-changelog] [xen master] xenstore: add stddef.h to xenstore_lib.h



commit 0f2b207d464f6b2a3508934a86b79557d3d0f0fd
Author:     Ian Campbell <ian.campbell@xxxxxxxxxx>
AuthorDate: Wed Jan 27 17:06:09 2016 +0000
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Wed Feb 3 11:24:54 2016 +0000

    xenstore: add stddef.h to xenstore_lib.h
    
    xs_perm_to_string takes a size_t which isn't defined by anything
    pulled in directly by this header.
    
    Given the other headers xenstore_lib.h pulls in this looks to be an
    oversight rather than a deliberate policy.
    
    Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
    Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 tools/xenstore/include/xenstore_lib.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/xenstore/include/xenstore_lib.h 
b/tools/xenstore/include/xenstore_lib.h
index 5a10c6c..462b7b9 100644
--- a/tools/xenstore/include/xenstore_lib.h
+++ b/tools/xenstore/include/xenstore_lib.h
@@ -19,6 +19,7 @@
 #ifndef XENSTORE_LIB_H
 #define XENSTORE_LIB_H
 
+#include <stddef.h>
 #include <stdbool.h>
 #include <limits.h>
 #include <errno.h>
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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