aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann <[email protected]>2000-12-15 14:48:46 +0000
committerGerd Moellmann <[email protected]>2000-12-15 14:48:46 +0000
commite61a9a9b83bdc5544d7de17895845281d6630ef8 (patch)
tree31837d0d78487a475e04716881cbb8fcb459b2b9
parentbb7959c1257078614a190bc94939fa4aef8ee8b0 (diff)
#undef bcopy & al here. Include strings.h.
-rw-r--r--src/s/irix6-5.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/s/irix6-5.h b/src/s/irix6-5.h
index 237ee3beaf..39e129a4e3 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 <strings.h>
+#endif
+
+#undef TIOCSIGSEND /* defined in usg5-4.h */