From c0e54fe4cdeb9b14db822978800958fb18efc91e Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Sat, 24 Aug 1996 19:12:27 +0000 Subject: [PATCH] Check for h_errlist prototype. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@671 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/hstrerror.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/roken/hstrerror.c b/lib/roken/hstrerror.c index e1c6a4206..2839a0402 100644 --- a/lib/roken/hstrerror.c +++ b/lib/roken/hstrerror.c @@ -27,9 +27,10 @@ const int h_nerr = { sizeof h_errlist / sizeof h_errlist[0] }; #else +#ifdef NEED_H_ERRLIST_PROTO extern const char *h_errlist[]; - extern int h_nerr; +#endif #endif