From 64ac4eabc4dde91c882189cc362199cc324f2847 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Thu, 22 Aug 1996 19:19:39 +0000 Subject: [PATCH] Added declaration of `h_errno' git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@669 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/roken.h | 4 ++++ lib/roken/roken.h.in | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/lib/roken/roken.h b/lib/roken/roken.h index 1bd3fc854..37ab300c7 100644 --- a/lib/roken/roken.h +++ b/lib/roken/roken.h @@ -47,6 +47,10 @@ char *strerror(int eno); char *hstrerror(int herr); #endif +#ifndef HAVE_H_ERRNO +extern int h_errno; +#endif + #ifndef HAVE_HERROR void herror(char *s); #endif diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index 1bd3fc854..37ab300c7 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -47,6 +47,10 @@ char *strerror(int eno); char *hstrerror(int herr); #endif +#ifndef HAVE_H_ERRNO +extern int h_errno; +#endif + #ifndef HAVE_HERROR void herror(char *s); #endif