summaryrefslogtreecommitdiff
path: root/lib/error.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-06-24 12:01:03 +0000
committerJim Meyering <jim@meyering.net>2000-06-24 12:01:03 +0000
commit5061035e884b9c13cb4221ad6b28905f02945d59 (patch)
treee56cd4ec4e69666b430f5cf3409db8d202667058 /lib/error.c
parenta2d975a44dd2728230e87128463c076a7c57981a (diff)
downloadcoreutils-5061035e884b9c13cb4221ad6b28905f02945d59.tar.xz
[!HAVE_DECL_STRERROR_R]: Declare strerror_r.
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