changeset 2643:e6f767353d34

[!HAVE_DECL_STRERROR_R]: Declare strerror_r.
author Jim Meyering <jim@meyering.net>
date Sat, 24 Jun 2000 12:01:03 +0000
parents ee0131b3f042
children 0e276268fc94
files lib/error.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/error.c
+++ b/lib/error.c
@@ -49,6 +49,13 @@
 
 #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