aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/w32.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/w32.c b/src/w32.c
index f583d5e76c2..eb531aa60c3 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -82,6 +82,10 @@ int sys_dup2 (int, int);
82int sys_read (int, char *, unsigned int); 82int sys_read (int, char *, unsigned int);
83int sys_write (int, const void *, unsigned int); 83int sys_write (int, const void *, unsigned int);
84struct tm *sys_localtime (const time_t *); 84struct tm *sys_localtime (const time_t *);
85/* MinGW64 system headers include string.h too early, causing the
86 compiler to emit a warning about sys_strerror having no
87 prototype. */
88char *sys_strerror (int);
85 89
86#ifdef HAVE_MODULES 90#ifdef HAVE_MODULES
87extern void dynlib_reset_last_error (void); 91extern void dynlib_reset_last_error (void);