From: panne Date: Sun, 3 Oct 2004 16:50:53 +0000 (+0000) Subject: [project @ 2004-10-03 16:50:53 by panne] X-Git-Tag: Initial_conversion_from_CVS_complete~1540 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=66dda5a5bb72cefc0b06467ce4b0f8e20921c52f [project @ 2004-10-03 16:50:53 by panne] Warning police (bring 'raise' into scope) --- diff --git a/ghc/rts/RtsUtils.c b/ghc/rts/RtsUtils.c index 76eb7d1..636eff7 100644 --- a/ghc/rts/RtsUtils.c +++ b/ghc/rts/RtsUtils.c @@ -32,13 +32,12 @@ #include #include -#if defined(openbsd_TARGET_OS) -# ifdef HAVE_SIGNAL_H -# include -# endif -# ifdef HAVE_PTHREAD_H -# include -# endif +#ifdef HAVE_SIGNAL_H +#include +#endif + +#if defined(THREADED_RTS) && defined(openbsd_TARGET_OS) && defined(HAVE_PTHREAD_H) +#include #endif /* -----------------------------------------------------------------------------