changeset 18101:a6e2435529b5

[__NetBSD__]: Include stdlib.h, not alloca.h. (ORDINARY_LINK): Defined (if __NetBSD__).
author Richard M. Stallman <rms@gnu.org>
date Mon, 02 Jun 1997 00:03:17 +0000
parents 429fd40a708f
children d419ea48f00e
files src/m/alpha.h
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 <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