diff options
author | Richard M. Stallman <[email protected]> | 1995-04-10 08:04:27 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 1995-04-10 08:04:27 +0000 |
commit | ee0a8e7485eb0e820c22737423f3c354bed51dfc (patch) | |
tree | 8af2315a089043e846ce5b3d5bd5a647354bcd9d /src/s | |
parent | 4455f41c28f5b6465c15047e85966d0c308158c5 (diff) |
Include alloca.h, string.h. Test NOT_C_CODE.
(xmalloc, xrealloc): Declare them.
Diffstat (limited to 'src/s')
-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 6f28e19964..bf6fb02f02 100644 --- a/src/s/osf1.h +++ b/src/s/osf1.h @@ -24,6 +24,12 @@ /* Declare malloc and realloc in a way that is clean. But not in makefiles! */ +#ifndef NOT_C_CODE #ifndef THIS_IS_YMAKEFILE +/* We need these because pointers are larger than the default ints. */ +#include <alloca.h> +#include <string.h> extern void *malloc (), *realloc (); +extern long *xmalloc (), *xrealloc (); +#endif #endif |