Commit 542dd0c2 authored by sof's avatar sof
Browse files

[project @ 2002-07-18 06:05:29 by sof]

more include tweaking
parent f9e19f4f
......@@ -40,6 +40,7 @@ Haskell side.
#include "Rts.h"
#include "RtsUtils.h"
#include "RtsFlags.h"
#include <stdlib.h>
/* Heavily arch-specific, I'm afraid.. */
......
/* -----------------------------------------------------------------------------
* $Id: Linker.c,v 1.99 2002/07/17 08:26:44 simonmar Exp $
* $Id: Linker.c,v 1.100 2002/07/18 06:05:29 sof Exp $
*
* (c) The GHC Team, 2000, 2001
*
......@@ -62,6 +62,7 @@
#elif defined(cygwin32_TARGET_OS) || defined (mingw32_TARGET_OS)
# define OBJFORMAT_PEi386
# include <windows.h>
# include <math.h>
#elif defined(darwin_TARGET_OS)
# define OBJFORMAT_MACHO
# include <mach-o/loader.h>
......
/* -----------------------------------------------------------------------------
* $Id: Main.c,v 1.34 2002/02/13 08:48:06 sof Exp $
* $Id: Main.c,v 1.35 2002/07/18 06:05:30 sof Exp $
*
* (c) The GHC Team 1998-2000
*
......@@ -16,6 +16,7 @@
#include "RtsFlags.h"
#include "RtsUtils.h"
#include "Prelude.h"
#include <stdlib.h>
#ifdef DEBUG
# include "Printer.h" /* for printing */
......
/* -----------------------------------------------------------------------------
* $Id: StgMiscClosures.hc,v 1.76 2002/04/19 10:22:58 simonmar Exp $
* $Id: StgMiscClosures.hc,v 1.77 2002/07/18 06:05:30 sof Exp $
*
* (c) The GHC Team, 1998-2000
*
......@@ -23,8 +23,8 @@
# include "StgRun.h" /* for StgReturn and register saving */
#endif
#ifdef HAVE_STDIO_H
#include <stdio.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
/* ToDo: make the printing of panics more win32-friendly, i.e.,
......
/* -----------------------------------------------------------------------------
* $Id: NoRunnableThreads.c,v 1.3 2002/07/17 09:21:51 simonmar Exp $
* $Id: NoRunnableThreads.c,v 1.4 2002/07/18 06:05:31 sof Exp $
*
* User-overridable RTS hooks.
*
......@@ -8,6 +8,7 @@
#include "Rts.h"
#include <stdio.h>
#include <stdlib.h>
/*
Hook to invoke when there's nothing left on the runnable threads
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment