Jim Paris wrote:
Fixes compile error when building --without-xen on a host that has
no
Xen headers installed.
---
src/stats_linux.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/stats_linux.c b/src/stats_linux.c
index 5e6d06c..125af45 100644
--- a/src/stats_linux.c
+++ b/src/stats_linux.c
@@ -19,7 +19,9 @@
#include <string.h>
#include <unistd.h>
+#ifdef WITH_XEN
#include <xs.h>
+#endif
#include "internal.h"
#include "xen_unified.h"
Yes, well spotted, thanks.
Rich.
--
Emerging Technologies, Red Hat -
http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903