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