aboutsummaryrefslogtreecommitdiffstats
path: root/xs_tools.c
diff options
context:
space:
mode:
Diffstat (limited to 'xs_tools.c')
-rw-r--r--xs_tools.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xs_tools.c b/xs_tools.c
index 5a72b45..d9c3b07 100644
--- a/xs_tools.c
+++ b/xs_tools.c
@@ -1,3 +1,5 @@
+#ifdef HAVE_XENSTORE
+
#include <stdio.h>
#include <stdlib.h>
@@ -58,3 +60,5 @@ int xenstore_read(struct xs_handle *xenstore, char *path, char *dst, size_t size
free(xs_value);
return 0;
}
+
+#endif /* HAVE_XENSTORE */