EDK II code should not include system include files. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.jus...@intel.com> Cc: Anthony PERARD <anthony.per...@citrix.com> Cc: Scott Duplichan <sc...@notabs.org> --- OvmfPkg/XenPvBlkDxe/BlockFront.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/OvmfPkg/XenPvBlkDxe/BlockFront.c b/OvmfPkg/XenPvBlkDxe/BlockFront.c index 8d43d83..6add552 100644 --- a/OvmfPkg/XenPvBlkDxe/BlockFront.c +++ b/OvmfPkg/XenPvBlkDxe/BlockFront.c @@ -3,6 +3,7 @@ Copyright (c) 2007-2008 Samuel Thibault. Copyright (C) 2014, Citrix Ltd. + Copyright (c) 2014, Intel Corporation. All rights reserved.<BR> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions @@ -34,10 +35,8 @@ #include <IndustryStandard/Xen/io/protocols.h> #include <IndustryStandard/Xen/io/xenbus.h> -// -// Header used for UINT32_MAX and UINT16_MAX -// -#include "inttypes.h" +#define UINT32_MAX ((UINTN)0xFFFFFFFF) +#define UINT16_MAX ((UINTN)0xFFFF) /** Helper to read an integer from XenStore. -- 2.1.1 ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel