]> git.eshelyaron.com Git - emacs.git/commitdiff
[__NetBSD__]: Include stdlib.h, not alloca.h.
authorRichard M. Stallman <rms@gnu.org>
Mon, 2 Jun 1997 00:03:17 +0000 (00:03 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 2 Jun 1997 00:03:17 +0000 (00:03 +0000)
(ORDINARY_LINK): Defined (if __NetBSD__).

src/m/alpha.h

index 0833299160beba1d3ba3428df0b8a068e336b810..4b6b26bd96a1629c9102aea655d94a377dad5fa2 100644 (file)
@@ -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