From 665b340ab40be2199dca9717c2a51f43f53fd3bb Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 21 Jul 2003 15:05:54 +0000 Subject: [PATCH] [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. --- ghc/includes/Stg.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -------------------------------------------------------------------------- */ -- 1.7.10.4