aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/getdate.y2
-rw-r--r--lib/mprintf.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/getdate.y b/lib/getdate.y
index 32749db59..8afd6fa9c 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 91f10fcb0..6e28d2b32 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, ...)
{