[!HAVE_DECL_STRERROR_R]: Declare strerror_r.
authorJim Meyering <jim@meyering.net>
Sat, 24 Jun 2000 12:01:03 +0000 (12:01 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 24 Jun 2000 12:01:03 +0000 (12:01 +0000)
lib/error.c

index ffa54c39628cc275c9a26bac2067fc0b747877e6..5dbd4d726ee812ddedc5c7729c5960244d286cf2 100644 (file)
@@ -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