diff options
Diffstat (limited to 'src/import/chips/p9/xip/p9_xip_image.c')
-rw-r--r-- | src/import/chips/p9/xip/p9_xip_image.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/import/chips/p9/xip/p9_xip_image.c b/src/import/chips/p9/xip/p9_xip_image.c index ed89d0fe..548acc1a 100644 --- a/src/import/chips/p9/xip/p9_xip_image.c +++ b/src/import/chips/p9/xip/p9_xip_image.c @@ -37,20 +37,19 @@ /// ensure that no memory outside of the putative bounds of the image is ever /// referenced during validation. -#ifndef PLIC_MODULE - #include <stddef.h> - #include <stdint.h> - #include <stdlib.h> - #include <string.h> -#endif // PLIC_MODULE - #include <stddef.h> -#include <stdint.h> +#ifdef _WIN32 + #include "win32_stdint.h" + #include "endian.h" +#else + #include <stdint.h> + #include <endian.h> +#endif #include <stdlib.h> #include <string.h> -#include <endian.h> #include "p9_xip_image.h" + //////////////////////////////////////////////////////////////////////////// // Local Functions //////////////////////////////////////////////////////////////////////////// |