diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-10-14 08:33:11 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-10-14 08:33:11 +0100 |
commit | ae72c3f2af82a36195c44504bfa270426aff8aca (patch) | |
tree | c8f4feeeb1e7a9e0f313b50b4b1fb6a82b2635eb /stubdom/pciutils.patch | |
parent | 2757a76076b2f13700249e3a79bcd89d0c491479 (diff) | |
download | xen-ae72c3f2af82a36195c44504bfa270426aff8aca.tar.gz xen-ae72c3f2af82a36195c44504bfa270426aff8aca.tar.bz2 xen-ae72c3f2af82a36195c44504bfa270426aff8aca.zip |
stubdom pcilib: define endianness for minios
Include endian.h for MiniOS.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'stubdom/pciutils.patch')
-rw-r--r-- | stubdom/pciutils.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/stubdom/pciutils.patch b/stubdom/pciutils.patch index bdc72cf590..0190428f26 100644 --- a/stubdom/pciutils.patch +++ b/stubdom/pciutils.patch @@ -297,3 +297,17 @@ diff -urN pciutils-2.2.9.orig/lib/access.c pciutils-2.2.9/lib/access.c } static int +diff -uNpbE -uNpbEr pciutils-2.2.9.orig/lib/sysdep.h pciutils-2.2.9/lib/sysdep.h +--- pciutils-2.2.9.orig/lib/sysdep.h 2007-02-06 12:00:18.000000000 +0000 ++++ pciutils-2.2.9/lib/sysdep.h 2009-07-22 16:26:30.000000000 +0100 +@@ -32,6 +32,10 @@ typedef u16 word; + + #else + ++#ifdef PCI_OS_MINIOS ++#include <machine/endian.h> ++#endif ++ + #ifdef PCI_OS_LINUX + #include <endian.h> + #define BYTE_ORDER __BYTE_ORDER |