From: Richard M. Stallman Date: Mon, 2 Jun 1997 00:03:17 +0000 (+0000) Subject: [__NetBSD__]: Include stdlib.h, not alloca.h. X-Git-Tag: emacs-20.1~1845 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6c73d3466fdf6bc7877ca3c5c51e6a3a76e72f9e;p=emacs.git [__NetBSD__]: Include stdlib.h, not alloca.h. (ORDINARY_LINK): Defined (if __NetBSD__). --- 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