aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/s/osf1.h6
1 files changed, 6 insertions, 0 deletions
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 @@
24/* Declare malloc and realloc in a way that is clean. 24/* Declare malloc and realloc in a way that is clean.
25 But not in makefiles! */ 25 But not in makefiles! */
26 26
27#ifndef NOT_C_CODE
27#ifndef THIS_IS_YMAKEFILE 28#ifndef THIS_IS_YMAKEFILE
29/* We need these because pointers are larger than the default ints. */
30#include <alloca.h>
31#include <string.h>
28extern void *malloc (), *realloc (); 32extern void *malloc (), *realloc ();
33extern long *xmalloc (), *xrealloc ();
34#endif
29#endif 35#endif