From 52fe4e55fb08becf99120fa0693c03f849786a6f Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Wed, 28 Aug 1996 13:03:44 +0000 Subject: [PATCH] Fix for IRIX 4 compiler bug git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@690 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/roken.h | 2 ++ lib/roken/roken.h.in | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/roken/roken.h b/lib/roken/roken.h index aa6a89df1..26daaeda1 100644 --- a/lib/roken/roken.h +++ b/lib/roken/roken.h @@ -34,10 +34,12 @@ char * strdup(const char *old); int getdtablesize(void); #endif +#if IRIX != 4 /* fix for compiler bug */ #ifdef RETSIGTYPE typedef RETSIGTYPE (*SigAction)(/* int??? */); SigAction signal(int iSig, SigAction pAction); /* BSD compatible */ #endif +#endif #if !defined(HAVE_STRERROR) && !defined(strerror) char *strerror(int eno); diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index aa6a89df1..26daaeda1 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -34,10 +34,12 @@ char * strdup(const char *old); int getdtablesize(void); #endif +#if IRIX != 4 /* fix for compiler bug */ #ifdef RETSIGTYPE typedef RETSIGTYPE (*SigAction)(/* int??? */); SigAction signal(int iSig, SigAction pAction); /* BSD compatible */ #endif +#endif #if !defined(HAVE_STRERROR) && !defined(strerror) char *strerror(int eno);