From faf36c1437c95e4a86835633d9801c5f6396a3c7 Mon Sep 17 00:00:00 2001 From: Remy Bohmer Date: Wed, 28 Oct 2009 22:13:36 +0100 Subject: Fix mingw tools build mkimage does not build due to missing strtok_r() and getline() implementation Signed-off-by: Remy Bohmer --- tools/mingw_support.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/mingw_support.h') diff --git a/tools/mingw_support.h b/tools/mingw_support.h index 9e45e64911..27936746bd 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_ */ -- cgit v1.2.1