/* -----------------------------------------------------------------------------
- * $Id: HeapStackCheck.hc,v 1.28 2003/02/21 05:34:15 sof Exp $
+ * $Id: HeapStackCheck.hc,v 1.29 2003/03/19 18:56:14 sof Exp $
*
* (c) The GHC Team, 1998-2002
*
#include "StgRun.h" /* for StgReturn and register saving */
#include "Schedule.h" /* for context_switch */
#include "RtsFlags.h"
+#include "RtsUtils.h"
#include "Apply.h"
#include <stdio.h>
+#ifdef mingw32_TARGET_OS
+#include <stdlib.h>
+#endif
+
/* Stack/Heap Check Failure
* ------------------------
*
/* -----------------------------------------------------------------------------
- * $Id: RtsUtils.h,v 1.12 2001/10/31 10:30:29 simonmar Exp $
+ * $Id: RtsUtils.h,v 1.13 2003/03/19 18:56:14 sof Exp $
*
* (c) The GHC Team, 1998-1999
*
ullong msTime(void);
-
+#ifdef DEBUG
+extern void heapCheckFail( void );
+#endif