changeset 34612:67fa8a547b3d

#undef bcopy & al here. Include strings.h.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 15 Dec 2000 14:48:46 +0000
parents 25c779da6773
children d4c7ac767031
files src/s/irix6-5.h
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/irix6-5.h	Fri Dec 15 14:48:30 2000 +0000
+++ b/src/s/irix6-5.h	Fri Dec 15 14:48:46 2000 +0000
@@ -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 */