From ee0a8e7485eb0e820c22737423f3c354bed51dfc Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 10 Apr 1995 08:04:27 +0000 Subject: [PATCH] Include alloca.h, string.h. Test NOT_C_CODE. (xmalloc, xrealloc): Declare them. --- src/s/osf1.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 @@ /* 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 +#include extern void *malloc (), *realloc (); +extern long *xmalloc (), *xrealloc (); +#endif #endif -- 2.39.5