From: simonmar Date: Mon, 21 Jul 2003 15:05:54 +0000 (+0000) Subject: [project @ 2003-07-21 15:05:54 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~669 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=665b340ab40be2199dca9717c2a51f43f53fd3bb [project @ 2003-07-21 15:05:54 by simonmar] We use NULL in the headers (at least when -prof is on), so we better #include . We normally get it via HsBase.h anyway, but we shouldn't rely on that. --- diff --git a/ghc/includes/Stg.h b/ghc/includes/Stg.h index 17568b5..001ca55 100644 --- a/ghc/includes/Stg.h +++ b/ghc/includes/Stg.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Stg.h,v 1.52 2003/05/29 14:39:30 sof Exp $ + * $Id: Stg.h,v 1.53 2003/07/21 15:05:54 simonmar Exp $ * * (c) The GHC Team, 1998-1999 * @@ -118,6 +118,13 @@ void _stgAssert (char *, unsigned int); #define doNothing() do { } while (0) /* ----------------------------------------------------------------------------- + System headers + -------------------------------------------------------------------------- */ + +// Needed so that we can use NULL +#include + +/* ----------------------------------------------------------------------------- Global type definitions -------------------------------------------------------------------------- */