summaryrefslogtreecommitdiff
path: root/ghc/rts/Arena.c
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/rts/Arena.c')
-rw-r--r--ghc/rts/Arena.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ghc/rts/Arena.c b/ghc/rts/Arena.c
index f719400c9e..ba6774b393 100644
--- a/ghc/rts/Arena.c
+++ b/ghc/rts/Arena.c
@@ -1,5 +1,5 @@
/* -----------------------------------------------------------------------------
- $Id: Arena.c,v 1.1 2001/10/18 14:41:01 simonmar Exp $
+ $Id: Arena.c,v 1.2 2002/07/17 09:21:49 simonmar Exp $
(c) The University of Glasgow 2001
Arena allocation. Arenas provide fast memory allocation at the
@@ -24,6 +24,8 @@
#include "BlockAlloc.h"
#include "Arena.h"
+#include <stdlib.h>
+
// Each arena struct is allocated using malloc().
struct _Arena {
bdescr *current;