From 001a6a5e9ae25b21c62796e929ec5c868b14b696 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 14 Oct 2009 08:33:11 +0100 Subject: [PATCH] stubdom pcilib: define endianness for minios Include endian.h for MiniOS. Signed-off-by: Stefano Stabellini --- pciutils.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pciutils.patch b/pciutils.patch index bdc72cf..0190428 100644 --- a/pciutils.patch +++ b/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 ++#endif ++ + #ifdef PCI_OS_LINUX + #include + #define BYTE_ORDER __BYTE_ORDER -- 2.39.5