1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

Include alloca.h, string.h. Test NOT_C_CODE.

(xmalloc, xrealloc): Declare them.
This commit is contained in:
Richard M. Stallman 1995-04-10 08:04:27 +00:00
parent 4455f41c28
commit ee0a8e7485

View File

@ -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