diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-07-15 09:09:48 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-07-15 09:09:48 +0100 |
commit | 0df54d980737b7c4bb07aa4ac29e1e7689a6019b (patch) | |
tree | 69c7a044efe1f909f03ad9ff32ef5a8e0d8a390f /stubdom | |
parent | 4a493bdc5c1f3ba22004fd6a260fc7b4c6d23fce (diff) | |
download | xen-0df54d980737b7c4bb07aa4ac29e1e7689a6019b.tar.gz xen-0df54d980737b7c4bb07aa4ac29e1e7689a6019b.tar.bz2 xen-0df54d980737b7c4bb07aa4ac29e1e7689a6019b.zip |
minios: switch to C99 integer types
This is a necessary step to make minios build on NetBSD.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'stubdom')
-rw-r--r-- | stubdom/pciutils.patch | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/stubdom/pciutils.patch b/stubdom/pciutils.patch index 189b7ff719..bdc72cf590 100644 --- a/stubdom/pciutils.patch +++ b/stubdom/pciutils.patch @@ -54,22 +54,22 @@ diff -urN pciutils-2.2.9.orig/lib/access.c pciutils-2.2.9/lib/access.c all: $(PCILIB) $(PCILIBPC) $(PCILIB): $(OBJS) ---- pciutils-2.2.9.orig/lib/types.h 2007-09-03 09:44:15.000000000 +0100 -+++ pciutils-2.2.9/lib/types.h 2008-07-01 12:17:08.396156000 +0100 -@@ -17,9 +17,13 @@ - typedef DWORD u32; - #elif defined(PCI_HAVE_STDINT_H) - #include <stdint.h> -+#ifdef PCI_OS_MINIOS -+#include <types.h> -+#else +--- pciutils-2.2.9.orig/lib/types.h 2009-07-14 18:18:59.000000000 +0200 ++++ pciutils-2.2.9/lib/types.h 2009-07-14 18:19:16.000000000 +0200 +@@ -20,10 +20,12 @@ typedef DWORD u32; typedef uint8_t u8; typedef uint16_t u16; typedef uint32_t u32; -+#endif ++typedef uint64_t u64; #else typedef u_int8_t u8; typedef u_int16_t u16; + typedef u_int32_t u32; ++typedef u_int64_t u64; + #endif + + #ifdef PCI_HAVE_64BIT_ADDRESS + --- pciutils-2.2.9.orig/lib/minios.c 1970-01-01 01:00:00.000000000 +0100 +++ pciutils-2.2.9/lib/minios.c 2008-07-01 12:31:40.554260000 +0100 @@ -0,0 +1,113 @@ |