summaryrefslogtreecommitdiff
path: root/lib/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/error.c')
-rw-r--r--lib/error.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/error.c b/lib/error.c
index ffa54c396..5dbd4d726 100644
--- a/lib/error.c
+++ b/lib/error.c
@@ -49,6 +49,13 @@ void exit ();
#include "error.h"
+#ifndef HAVE_DECL_STRERROR_R
+"this configure-time declaration test was not run"
+#endif
+#if !HAVE_DECL_STRERROR_R
+char *strerror_r ();
+#endif
+
#ifndef _
# define _(String) String
#endif