diff options
| author | Gerd Moellmann | 2000-12-15 14:48:46 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-12-15 14:48:46 +0000 |
| commit | e61a9a9b83bdc5544d7de17895845281d6630ef8 (patch) | |
| tree | 31837d0d78487a475e04716881cbb8fcb459b2b9 /src | |
| parent | bb7959c1257078614a190bc94939fa4aef8ee8b0 (diff) | |
| download | emacs-e61a9a9b83bdc5544d7de17895845281d6630ef8.tar.gz emacs-e61a9a9b83bdc5544d7de17895845281d6630ef8.zip | |
#undef bcopy & al here. Include strings.h.
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/irix6-5.h | 13 |
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 @@ | |||
| 32 | /* Cancel the #define that is in irix5-0.h. */ | 32 | /* Cancel the #define that is in irix5-0.h. */ |
| 33 | #undef ospeed | 33 | #undef ospeed |
| 34 | 34 | ||
| 35 | /* If we keep the #defines from usg5-4.h, we lose when using the X | ||
| 36 | headers because (at least) the bzero definition breaks their use of | ||
| 37 | strings.h. Including strings.h here gets us prototypes for them. | ||
| 38 | (They're in libc though also they seem to be intrinsics in the SGI | ||
| 39 | (Cray) compiler at least at version 7.3). -- fx */ | ||
| 40 | #undef bcopy | ||
| 41 | #undef bcmp | ||
| 42 | #undef bzero | ||
| 43 | #ifndef NOT_C_CODE | ||
| 44 | #include <strings.h> | ||
| 45 | #endif | ||
| 46 | |||
| 47 | #undef TIOCSIGSEND /* defined in usg5-4.h */ | ||