aboutsummaryrefslogtreecommitdiffstats
path: root/include/errors.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/errors.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/errors.h b/include/errors.h
index 38664e10c..c014c91a0 100644
--- a/include/errors.h
+++ b/include/errors.h
@@ -79,7 +79,11 @@
#define G10ERR_NO_CARD 57
#ifndef HAVE_STRERROR
-char *strerror( int n );
+char *strerror (int n);
+#endif
+
+#ifdef _WIN32
+const char * w32_strerror (int w32_errno);
#endif
#endif /*G10_ERRORS_H*/