summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorAndrew Burt <isis!aburt>1988-01-23 14:57:57 +0000
committerLarry Wall <lwall@jpl-devvax.jpl.nasa.gov>1988-01-23 14:57:57 +0000
commit135863df38bea8d721a115b5d13e08b816104784 (patch)
treed5947cc711fcade4b0dd8528ee65a70a5d5d189d /malloc.c
parent36ce8bec6e5bbc05c8d60ee17f105fc8b751cada (diff)
downloadperl-135863df38bea8d721a115b5d13e08b816104784.tar.gz
perl 1.0 patch 2: Various portability fixes.
Some things didn't work right on System V and Pyramids.
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/malloc.c b/malloc.c
index 17c3b27930..6a6ceea549 100644
--- a/malloc.c
+++ b/malloc.c
@@ -1,6 +1,9 @@
-/* $Header: malloc.c,v 1.0 87/12/18 13:05:35 root Exp $
+/* $Header: malloc.c,v 1.0.1.1 88/01/24 03:53:23 root Exp $
*
* $Log: malloc.c,v $
+ * Revision 1.0.1.1 88/01/24 03:53:23 root
+ * patch 2: made depend on perl.h.
+ *
* Revision 1.0 87/12/18 13:05:35 root
* Initial revision
*
@@ -24,7 +27,16 @@ static char sccsid[] = "@(#)malloc.c 4.3 (Berkeley) 9/16/83";
* but bombs when it runs out.
*/
-#include <sys/types.h>
+#include "EXTERN.h"
+#include "handy.h"
+#include "search.h"
+#include "perl.h"
+
+/* I don't much care whether these are defined in sys/types.h--LAW */
+
+#define u_char unsigned char
+#define u_int unsigned int
+#define u_short unsigned short
#define NULL 0