diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-06-02 00:03:17 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-06-02 00:03:17 +0000 |
commit | 09f975f8bdb3cdc9955c7721efc96b490d5d16f9 (patch) | |
tree | b165d30de970d90781dac124a672b09bcc885bc4 /src | |
parent | 0532740a61df6548bd72fff397ca7deac4054ece (diff) | |
download | emacs-09f975f8bdb3cdc9955c7721efc96b490d5d16f9.tar.gz |
[__NetBSD__]: Include stdlib.h, not alloca.h.
(ORDINARY_LINK): Defined (if __NetBSD__).
Diffstat (limited to 'src')
-rw-r--r-- | src/m/alpha.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 <alloca.h> +#else +#include <stdlib.h> +#endif /* Hack alert! For reasons unknown to mankind the string.h file insists on defining bcopy etc. as taking char pointers as arguments. With |