aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/unlzo.c
diff options
context:
space:
mode:
Diffstat (limited to 'xen/common/unlzo.c')
-rw-r--r--xen/common/unlzo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/common/unlzo.c b/xen/common/unlzo.c
index 57d16f3cca..fc794b0538 100644
--- a/xen/common/unlzo.c
+++ b/xen/common/unlzo.c
@@ -32,7 +32,10 @@
#include "decompress.h"
#include <xen/lzo.h>
+
+#ifdef __XEN__
#include <asm/byteorder.h>
+#endif
#if 1 /* ndef CONFIG_??? */
static inline u16 INIT get_unaligned_be16(void *p)