From 6c73d3466fdf6bc7877ca3c5c51e6a3a76e72f9e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 2 Jun 1997 00:03:17 +0000 Subject: [PATCH] [__NetBSD__]: Include stdlib.h, not alloca.h. (ORDINARY_LINK): Defined (if __NetBSD__). --- src/m/alpha.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/m/alpha.h b/src/m/alpha.h index 0833299160b..4b6b26bd96a 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h @@ -153,6 +153,10 @@ NOTE-END # endif #endif +#ifdef __NetBSD__ +#define ORDINARY_LINK +#endif + #ifdef __ELF__ #undef UNEXEC #define UNEXEC unexelf.o @@ -235,7 +239,11 @@ NOTE-END #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 -- 2.39.5