]> git.eshelyaron.com Git - emacs.git/commitdiff
Include alloca.h, string.h. Test NOT_C_CODE.
authorRichard M. Stallman <rms@gnu.org>
Mon, 10 Apr 1995 08:04:27 +0000 (08:04 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 10 Apr 1995 08:04:27 +0000 (08:04 +0000)
(xmalloc, xrealloc): Declare them.

src/s/osf1.h

index 6f28e1996467ced1f134eedd40e6b9a1e07946fb..bf6fb02f027261484059f2babd2479141b006089 100644 (file)
 /* 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