summaryrefslogtreecommitdiff
path: root/common/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/compat.h')
-rw-r--r--common/compat.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/compat.h b/common/compat.h
index 1cedc35..5b76d00 100644
--- a/common/compat.h
+++ b/common/compat.h
@@ -310,4 +310,12 @@ unsigned long getauxval (unsigned long type);
#endif /* !HAVE_GETAUXVAL */
+#ifndef HAVE_STRERROR_R
+
+int strerror_r (int errnum,
+ char *buf,
+ size_t buflen);
+
+#endif /* HAVE_STRERROR_R */
+
#endif /* __COMPAT_H__ */