From c9c29037cd356fef636616881b17d12ce0cc93ec Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 25 Aug 1996 02:58:55 +0000 Subject: [PATCH] Check if ugly X11R6 defined `strerror' git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@684 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/roken.h | 2 +- lib/roken/roken.h.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/roken/roken.h b/lib/roken/roken.h index 37ab300c7..aa6a89df1 100644 --- a/lib/roken/roken.h +++ b/lib/roken/roken.h @@ -39,7 +39,7 @@ typedef RETSIGTYPE (*SigAction)(/* int??? */); SigAction signal(int iSig, SigAction pAction); /* BSD compatible */ #endif -#ifndef HAVE_STRERROR +#if !defined(HAVE_STRERROR) && !defined(strerror) char *strerror(int eno); #endif diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index 37ab300c7..aa6a89df1 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -39,7 +39,7 @@ typedef RETSIGTYPE (*SigAction)(/* int??? */); SigAction signal(int iSig, SigAction pAction); /* BSD compatible */ #endif -#ifndef HAVE_STRERROR +#if !defined(HAVE_STRERROR) && !defined(strerror) char *strerror(int eno); #endif