diff --git a/lib/getdate.y b/lib/getdate.y index 32749db5917fdab15d1fad3f37b8b7dd86628c25..8afd6fa9c0b7f7eca154783bf21f5bf3d350785c 100644 --- a/lib/getdate.y +++ b/lib/getdate.y @@ -477,9 +477,11 @@ o_merid : /* NULL */ the same signature as the function definition does. */ #include "getdate.h" +#ifndef WIN32 /* the windows dudes don't need these, does anyone really? */ extern struct tm *gmtime (); extern struct tm *localtime (); extern time_t mktime (); +#endif /* Month and day table. */ static TABLE const MonthDayTable[] = { diff --git a/lib/mprintf.c b/lib/mprintf.c index 91f10fcb0d8be8fe76cfd89593b7f517f7f24142..6e28d2b32dd5515f0bdb4316f7b089df02ba5de1 100644 --- a/lib/mprintf.c +++ b/lib/mprintf.c @@ -1151,7 +1151,9 @@ int curl_msprintf(char *buffer, const char *format, ...) return retcode; } +#ifndef WIN32 /* not needed on win32 */ extern int fputc(int, FILE *); +#endif int curl_mprintf(const char *format, ...) {