From 067a83f1ec0c1d628c09b7964110558e49ef81d3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 24 Jun 2000 12:01:03 +0000 Subject: [PATCH] [!HAVE_DECL_STRERROR_R]: Declare strerror_r. --- lib/error.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/error.c b/lib/error.c index ffa54c3962..5dbd4d726e 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 -- 2.30.2