tools/libxc: Fix build error when using xc_evtchn_compat.c
PATCH 1/1 tools/libxc: Fix build error when using xc_evtchn_compat.c
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 <[email protected]>
Cc Ian Jackson <[email protected]>
Cc Wei Liu <[email protected]>
--- tools/libxc/include/xenctrl.h | 1 + 1 file changed, 1 insertion(+)
tools/libxc/include/xenctrl.h +1 -0
@@ -27,6 +27,7 @@#define __XEN_TOOLS__ 1#endif +#include <unistd.h> #include <stddef.h> #include <stdint.h> #include <stdio.h>
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 8 lines · Olaf Hering
Tools fails to build with gcc 4.5, it does not provide
ssize_t.Fixes d275ec9 ("libxc/libxl/python/xenstat/ocaml: Use new
XEN_VERSIONhypercall")Signed-off-by Olaf Hering <[email protected]>Cc Ian Jackson <[email protected]>Cc Wei Liu <[email protected]>
Acked-by Wei Liu <[email protected]>
Quoted 9 lines
--- tools/libxc/include/xenctrl.h | 1 + 1 file changed, 1 insertion(+)tools/libxc/include/xenctrl.h +0
-0
tools/libxc/include/xenctrl.h line 33
Quoted 7 lines
tools/libxc/include/xenctrl.h +1
-0@@ -27,6 +27,7 @@#define __XEN_TOOLS__ 1#endif +#include <unistd.h> #include <stddef.h> #include <stdint.h> #include <stdio.h>
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel