diff options
author | Remy Bohmer <linux@bohmer.net> | 2009-10-28 22:13:36 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-11-23 23:43:35 +0100 |
commit | faf36c1437c95e4a86835633d9801c5f6396a3c7 (patch) | |
tree | 78d9d29771c2f131aac0873e61dd228f54386f25 /tools/mingw_support.h | |
parent | 6a590c5f5fd12cdd27f3153522acfac3854590e7 (diff) | |
download | u-boot-imx-faf36c1437c95e4a86835633d9801c5f6396a3c7.zip u-boot-imx-faf36c1437c95e4a86835633d9801c5f6396a3c7.tar.gz u-boot-imx-faf36c1437c95e4a86835633d9801c5f6396a3c7.tar.bz2 |
Fix mingw tools build
mkimage does not build due to missing strtok_r() and getline() implementation
Signed-off-by: Remy Bohmer <linux@bohmer.net>
Diffstat (limited to 'tools/mingw_support.h')
-rw-r--r-- | tools/mingw_support.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/mingw_support.h b/tools/mingw_support.h index 9e45e64..2793674 100644 --- a/tools/mingw_support.h +++ b/tools/mingw_support.h @@ -44,5 +44,7 @@ typedef ULONG ulong; int fsync(int fd); void *mmap(void *, size_t, int, int, int, int); int munmap(void *, size_t); +char *strtok_r(char *s, const char *delim, char **save_ptr); +int getline(char **lineptr, size_t *n, FILE *stream); #endif /* __MINGW_SUPPORT_H_ */ |