From: Richard M. Stallman Date: Mon, 10 Apr 1995 08:04:27 +0000 (+0000) Subject: Include alloca.h, string.h. Test NOT_C_CODE. X-Git-Tag: emacs-19.34~4501 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ee0a8e7485eb0e820c22737423f3c354bed51dfc;p=emacs.git Include alloca.h, string.h. Test NOT_C_CODE. (xmalloc, xrealloc): Declare them. --- 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