summaryrefslogtreecommitdiff
path: root/src/s
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-12-15 14:48:46 +0000
committerGerd Moellmann <gerd@gnu.org>2000-12-15 14:48:46 +0000
commit726950642b9794df3ad4645bbd87fbd7c228d4ef (patch)
treec667b916eae0cd946c24194b6cdb5c2cc441dadd /src/s
parentf2f2e41cd9a9dbf57ac586a07692ee670a37a903 (diff)
downloademacs-726950642b9794df3ad4645bbd87fbd7c228d4ef.tar.gz
#undef bcopy & al here. Include strings.h.
Diffstat (limited to 'src/s')
-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 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 <strings.h>
+#endif
+
+#undef TIOCSIGSEND /* defined in usg5-4.h */