]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commitdiff
xenstore: add stddef.h to xenstore_lib.h
authorIan Campbell <ian.campbell@citrix.com>
Wed, 27 Jan 2016 17:06:09 +0000 (17:06 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 3 Feb 2016 11:24:54 +0000 (11:24 +0000)
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@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/xenstore/include/xenstore_lib.h

index 5a10c6c93727476352e39032d64af8e582aa53a8..462b7b9d40816959f828de1da99c8d2c920ac7cf 100644 (file)
@@ -19,6 +19,7 @@
 #ifndef XENSTORE_LIB_H
 #define XENSTORE_LIB_H
 
+#include <stddef.h>
 #include <stdbool.h>
 #include <limits.h>
 #include <errno.h>