xenstore: add stddef.h to xenstore_lib.h
PATCH 1/1 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 <[email protected]>
--- tools/xenstore/include/xenstore_lib.h | 1 + 1 file changed, 1 insertion(+)
tools/xenstore/include/xenstore_lib.h +1 -0
@@ -19,6 +19,7 @@#ifndef XENSTORE_LIB_H #define XENSTORE_LIB_H +#include <stddef.h> #include <stdbool.h> #include <limits.h> #include <errno.h>
Signature · 1 line
2.1.4
Quoted 7 lines · Ian Campbell
xs_perm_to_stringtakes asize_twhich isn't defined by anything pulled in directly by this header.Given the other headers
xenstore_lib.hpulls in this looks to be an oversight rather than a deliberate policy.Signed-off-by Ian Campbell <[email protected]>
Acked-by Wei Liu <[email protected]>
Ian Campbell
AppliedQuoted 10 lines · Wei Liu
Quoted 7 lines · Ian Campbell
xs_perm_to_stringtakes asize_twhich isn't defined by anything pulled in directly by this header.Given the other headers
xenstore_lib.hpulls in this looks to be an oversight rather than a deliberate policy.Signed-off-by Ian Campbell <[email protected]>Acked-by Wei Liu <[email protected]>
Applied,thanks.