summaryrefslogtreecommitdiff
path: root/ghc/rts/hooks/MallocFail.c
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/rts/hooks/MallocFail.c')
-rw-r--r--ghc/rts/hooks/MallocFail.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ghc/rts/hooks/MallocFail.c b/ghc/rts/hooks/MallocFail.c
index 01f534e4e7..c4af10a7c0 100644
--- a/ghc/rts/hooks/MallocFail.c
+++ b/ghc/rts/hooks/MallocFail.c
@@ -1,5 +1,5 @@
/* -----------------------------------------------------------------------------
- * $Id: MallocFail.c,v 1.2 1998/12/02 13:29:12 simonm Exp $
+ * $Id: MallocFail.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
MallocFailHook (lnat request_size /* in bytes */, char *msg)
{