X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=ghc%2Frts%2FRtsUtils.c;h=636eff77fb2612afafd5fe05c866926f01f59b6a;hb=66dda5a5bb72cefc0b06467ce4b0f8e20921c52f;hp=76eb7d1c66cd9896e36fb3a4d5a417c8f96897b1;hpb=ca068e74900ba665a6f9bfda56ff4005b25653bf;p=ghc-hetmet.git 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 /* -----------------------------------------------------------------------------