[project @ 2004-10-03 16:50:53 by panne]
authorpanne <unknown>
Sun, 3 Oct 2004 16:50:53 +0000 (16:50 +0000)
committerpanne <unknown>
Sun, 3 Oct 2004 16:50:53 +0000 (16:50 +0000)
Warning police (bring 'raise' into scope)

ghc/rts/RtsUtils.c

index 76eb7d1..636eff7 100644 (file)
 #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
 
 /* -----------------------------------------------------------------------------