From e61a9a9b83bdc5544d7de17895845281d6630ef8 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 15 Dec 2000 14:48:46 +0000 Subject: [PATCH] #undef bcopy & al here. Include strings.h. --- src/s/irix6-5.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/s/irix6-5.h b/src/s/irix6-5.h index 237ee3beaf2..39e129a4e3a 100644 --- a/src/s/irix6-5.h +++ b/src/s/irix6-5.h @@ -32,3 +32,16 @@ /* Cancel the #define that is in irix5-0.h. */ #undef ospeed +/* If we keep the #defines from usg5-4.h, we lose when using the X + headers because (at least) the bzero definition breaks their use of + strings.h. Including strings.h here gets us prototypes for them. + (They're in libc though also they seem to be intrinsics in the SGI + (Cray) compiler at least at version 7.3). -- fx */ +#undef bcopy +#undef bcmp +#undef bzero +#ifndef NOT_C_CODE +#include +#endif + +#undef TIOCSIGSEND /* defined in usg5-4.h */ -- 2.39.2