tools/xenstore: define off_t
PATCH 1/1 tools/xenstore: define off_t
talloc.h uses off_t, but did not include <sys/types.h> Fixes 7012548e0d ("xenstore: enhance control command support")
Signed-off-by Olaf Hering <[email protected]>
--- tools/xenstore/talloc.h | 2 ++ 1 file changed, 2 insertions(+)
tools/xenstore/talloc.h +2 -0
@@ -24,6 +24,8 @@License along with this library; If not, see <http://www.gnu.org/licenses/>. */ +#include <sys/types.h> +/* this is only needed for compatibility with the old talloc */ typedef void TALLOC_CTX ;
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 2 lines · Olaf Hering
talloc.husesoff_t, but did not include <sys/types.h> Fixes7012548e0d("xenstore: enhance control command support")
I think this issue is exposed by that particular commit. That commit is fine in itself. So I would simply delete the "Fixes ..." part.
Quoted 2 lines
Signed-off-by Olaf Hering <[email protected]>
Acked-by Wei Liu <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel