diff options
author | panne <unknown> | 2004-10-03 16:50:53 +0000 |
---|---|---|
committer | panne <unknown> | 2004-10-03 16:50:53 +0000 |
commit | 66dda5a5bb72cefc0b06467ce4b0f8e20921c52f (patch) | |
tree | 09140abaf78497c2782481708c95d7e93e8e7d3b | |
parent | ca068e74900ba665a6f9bfda56ff4005b25653bf (diff) | |
download | haskell-66dda5a5bb72cefc0b06467ce4b0f8e20921c52f.tar.gz |
[project @ 2004-10-03 16:50:53 by panne]
Warning police (bring 'raise' into scope)
-rw-r--r-- | ghc/rts/RtsUtils.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/ghc/rts/RtsUtils.c b/ghc/rts/RtsUtils.c index 76eb7d1c66..636eff77fb 100644 --- a/ghc/rts/RtsUtils.c +++ b/ghc/rts/RtsUtils.c @@ -32,13 +32,12 @@ #include <stdarg.h> #include <stdio.h> -#if defined(openbsd_TARGET_OS) -# ifdef HAVE_SIGNAL_H -# include <signal.h> -# endif -# ifdef HAVE_PTHREAD_H -# include <pthread.h> -# endif +#ifdef HAVE_SIGNAL_H +#include <signal.h> +#endif + +#if defined(THREADED_RTS) && defined(openbsd_TARGET_OS) && defined(HAVE_PTHREAD_H) +#include <pthread.h> #endif /* ----------------------------------------------------------------------------- |