From: Olaf Hering Date: Thu, 31 Mar 2016 11:25:30 +0000 (+0200) Subject: tools/libxc: Fix build error when using xc_version_len X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~1414 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=234d879ddd4eedf26d52f519a51a215619245e10;p=xen.git tools/libxc: Fix build error when using xc_version_len Tools fails to build with gcc 4.5, it does not provide ssize_t. Fixes d275ec9 ("libxc/libxl/python/xenstat/ocaml: Use new XEN_VERSION hypercall") Signed-off-by: Olaf Hering Reported-by: Olaf Hering Reported-by: Changlong Xie Cc: Ian Jackson Cc: Wei Liu Acked-by: Ian Jackson --- diff --git a/tools/libxc/include/xenctrl.h b/tools/libxc/include/xenctrl.h index 5c519c3b9a..13d57548b6 100644 --- a/tools/libxc/include/xenctrl.h +++ b/tools/libxc/include/xenctrl.h @@ -27,6 +27,7 @@ #define __XEN_TOOLS__ 1 #endif +#include #include #include #include