summaryrefslogtreecommitdiff
path: root/src/s
diff options
context:
space:
mode:
Diffstat (limited to 'src/s')
-rw-r--r--src/s/osf1.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/s/osf1.h b/src/s/osf1.h
index a8c8dbe6b3a..76942df6413 100644
--- a/src/s/osf1.h
+++ b/src/s/osf1.h
@@ -17,3 +17,10 @@
#endif
#define SYSV_SYSTEM_DIR
+
+/* Declare malloc and realloc in a way that is clean.
+ But not in makefiles! */
+
+#ifndef THIS_IS_YMAKEFILE
+extern void *malloc (), *realloc ();
+#endif