aboutsummaryrefslogtreecommitdiffstats
path: root/include/errors.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/errors.h')
-rw-r--r--include/errors.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/errors.h b/include/errors.h
index 7f60b8715..dc7486598 100644
--- a/include/errors.h
+++ b/include/errors.h
@@ -62,4 +62,9 @@
#define G10ERR_TIME_CONFLICT 40
#define G10ERR_WR_PUBKEY_ALGO 41 /* unusabe pubkey algo */
+
+#ifndef HAVE_STRERROR
+char *strerror( int n );
+#endif
+
#endif /*G10_ERRORS_H*/