diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/osf1.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/s/osf1.h b/src/s/osf1.h index 6f28e199646..bf6fb02f027 100644 --- a/src/s/osf1.h +++ b/src/s/osf1.h | |||
| @@ -24,6 +24,12 @@ | |||
| 24 | /* Declare malloc and realloc in a way that is clean. | 24 | /* Declare malloc and realloc in a way that is clean. |
| 25 | But not in makefiles! */ | 25 | But not in makefiles! */ |
| 26 | 26 | ||
| 27 | #ifndef NOT_C_CODE | ||
| 27 | #ifndef THIS_IS_YMAKEFILE | 28 | #ifndef THIS_IS_YMAKEFILE |
| 29 | /* We need these because pointers are larger than the default ints. */ | ||
| 30 | #include <alloca.h> | ||
| 31 | #include <string.h> | ||
| 28 | extern void *malloc (), *realloc (); | 32 | extern void *malloc (), *realloc (); |
| 33 | extern long *xmalloc (), *xrealloc (); | ||
| 34 | #endif | ||
| 29 | #endif | 35 | #endif |