summaryrefslogtreecommitdiff
path: root/ghc/rts/hooks/StackOverflow.c
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/rts/hooks/StackOverflow.c')
-rw-r--r--ghc/rts/hooks/StackOverflow.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ghc/rts/hooks/StackOverflow.c b/ghc/rts/hooks/StackOverflow.c
index a46750255f..a14b0698f8 100644
--- a/ghc/rts/hooks/StackOverflow.c
+++ b/ghc/rts/hooks/StackOverflow.c
@@ -1,5 +1,5 @@
/* -----------------------------------------------------------------------------
- * $Id: StackOverflow.c,v 1.2 1998/12/02 13:29:15 simonm Exp $
+ * $Id: StackOverflow.c,v 1.3 2002/07/17 09:21:51 simonmar Exp $
*
* User-overridable RTS hooks.
*
@@ -7,6 +7,8 @@
#include "Rts.h"
+#include <stdio.h>
+
void
StackOverflowHook (lnat stack_size) /* in bytes */
{