diff lib/error.c @ 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 4c34c8e77805
children 5b1fa2113060
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