diff options
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 | |||
| 153 | # endif | 153 | # endif |
| 154 | #endif | 154 | #endif |
| 155 | 155 | ||
| 156 | #ifdef __NetBSD__ | ||
| 157 | #define ORDINARY_LINK | ||
| 158 | #endif | ||
| 159 | |||
| 156 | #ifdef __ELF__ | 160 | #ifdef __ELF__ |
| 157 | #undef UNEXEC | 161 | #undef UNEXEC |
| 158 | #define UNEXEC unexelf.o | 162 | #define UNEXEC unexelf.o |
| @@ -235,7 +239,11 @@ NOTE-END | |||
| 235 | 239 | ||
| 236 | #ifndef NOT_C_CODE | 240 | #ifndef NOT_C_CODE |
| 237 | /* We need these because pointers are larger than the default ints. */ | 241 | /* We need these because pointers are larger than the default ints. */ |
| 242 | #ifndef __NetBSD__ | ||
| 238 | #include <alloca.h> | 243 | #include <alloca.h> |
| 244 | #else | ||
| 245 | #include <stdlib.h> | ||
| 246 | #endif | ||
| 239 | 247 | ||
| 240 | /* Hack alert! For reasons unknown to mankind the string.h file insists | 248 | /* Hack alert! For reasons unknown to mankind the string.h file insists |
| 241 | on defining bcopy etc. as taking char pointers as arguments. With | 249 | on defining bcopy etc. as taking char pointers as arguments. With |