debian/patches/no-shmat-decl
raw| 1 | --- a/buffer.c |
| 2 | +++ b/buffer.c |
| 3 | @@ -126,9 +126,9 @@ |
| 4 | static char *rcsid = "$Header: /a/swan/home/swan/staff/csg/lmjm/src/buffer/RCS/buffer.c,v 1.19 1995/08/24 17:46:28 lmjm Exp lmjm $"; |
| 5 | #endif |
| 6 | |
| 7 | -#ifndef __alpha |
| 8 | +#if !(defined(__linux__) || defined(__GLIBC__) || defined(__GNU__)) |
| 9 | extern char *shmat(); |
| 10 | -#endif /* __alpha */ |
| 11 | +#endif |
| 12 | |
| 13 | /* General macros */ |
| 14 | #define TRUE 1 |