# HG changeset patch # User Richard M. Stallman # Date 865209797 0 # Node ID a6e2435529b5432f71ae603e8470e6fc95a2c87d # Parent 429fd40a708fbaaf6216cbbe746bfb7c92a55c6a [__NetBSD__]: Include stdlib.h, not alloca.h. (ORDINARY_LINK): Defined (if __NetBSD__). diff -r 429fd40a708f -r a6e2435529b5 src/m/alpha.h --- a/src/m/alpha.h Mon Jun 02 00:00:31 1997 +0000 +++ b/src/m/alpha.h Mon Jun 02 00:03:17 1997 +0000 @@ -153,6 +153,10 @@ # endif #endif +#ifdef __NetBSD__ +#define ORDINARY_LINK +#endif + #ifdef __ELF__ #undef UNEXEC #define UNEXEC unexelf.o @@ -235,7 +239,11 @@ #ifndef NOT_C_CODE /* We need these because pointers are larger than the default ints. */ +#ifndef __NetBSD__ #include +#else +#include +#endif /* Hack alert! For reasons unknown to mankind the string.h file insists on defining bcopy etc. as taking char pointers as arguments. With