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