Mercurial > emacs
changeset 11357:34246eb34e98
Include alloca.h, string.h. Test NOT_C_CODE.
(xmalloc, xrealloc): Declare them.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 10 Apr 1995 08:04:27 +0000 |
parents | 4be78e93d1be |
children | cba458f0dc21 |
files | src/s/osf1.h |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/s/osf1.h Mon Apr 10 08:02:39 1995 +0000 +++ b/src/s/osf1.h Mon Apr 10 08:04:27 1995 +0000 @@ -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