summaryrefslogtreecommitdiffstats
path: root/include/elf.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-10-30 21:49:38 +0000
committerwdenk <wdenk>2003-10-30 21:49:38 +0000
commitb13fb01a62708492cae4b33c4d6fa9ae127905f4 (patch)
tree66ae0d558907465ecbebb815f8be02a4257e5c55 /include/elf.h
parent5fa66df63afe2841ce27596996811469903373a7 (diff)
downloadbarebox-b13fb01a62708492cae4b33c4d6fa9ae127905f4.tar.gz
barebox-b13fb01a62708492cae4b33c4d6fa9ae127905f4.tar.xz
* Fix parameter passing to standalone images with bootm command
* Patch by Kyle Harris, 30 Oct 2003: Fix build errors for ixdp425 board * Patch by David M. Horn, 29 Oct 2003: Fixes to build under CYGWIN * Get IceCube MGT5100 working (again)
Diffstat (limited to 'include/elf.h')
-rw-r--r--include/elf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/elf.h b/include/elf.h
index 4ea3926f83..d0febc58cd 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -41,6 +41,11 @@
#include <inttypes.h>
#elif defined(__linux__) && defined(USE_HOSTCC)
#include <stdint.h>
+#elif defined(__WIN32__)
+#include <unistd.h>
+typedef unsigned char uint8_t;
+typedef unsigned short uint16_t;
+typedef unsigned int uint32_t;
#endif
/*