aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xg_private.h
diff options
context:
space:
mode:
authorkfraser@dhcp93.uk.xensource.com <kfraser@dhcp93.uk.xensource.com>2006-05-31 11:31:52 +0100
committerkfraser@dhcp93.uk.xensource.com <kfraser@dhcp93.uk.xensource.com>2006-05-31 11:31:52 +0100
commit3f2522e1acd85e4a3654ad3e2edc3dc915c2cdb2 (patch)
tree2e31d571c87baaba6a5aa482bd42f3f79efd7484 /tools/libxc/xg_private.h
parent678b2e21b2b47774d228f5806b90b152250d9432 (diff)
downloadxen-3f2522e1acd85e4a3654ad3e2edc3dc915c2cdb2.tar.gz
xen-3f2522e1acd85e4a3654ad3e2edc3dc915c2cdb2.tar.bz2
xen-3f2522e1acd85e4a3654ad3e2edc3dc915c2cdb2.zip
Use a global build configuration file, and rework libxc Makefile for PPC.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Diffstat (limited to 'tools/libxc/xg_private.h')
-rw-r--r--tools/libxc/xg_private.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/libxc/xg_private.h b/tools/libxc/xg_private.h
index 99c9d0ff7c..8fbf047d17 100644
--- a/tools/libxc/xg_private.h
+++ b/tools/libxc/xg_private.h
@@ -25,6 +25,14 @@
#define DECLARE_DOM0_OP dom0_op_t op
#endif
+#ifndef ELFSIZE
+#include <limits.h>
+#if UINT_MAX == ULONG_MAX
+#define ELFSIZE 32
+#else
+#define ELFSIZE 64
+#endif
+#endif
char *xc_read_image(const char *filename, unsigned long *size);
char *xc_inflate_buffer(const char *in_buf,