summaryrefslogtreecommitdiff
path: root/solaris_pthreads.c
diff options
context:
space:
mode:
Diffstat (limited to 'solaris_pthreads.c')
-rw-r--r--solaris_pthreads.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/solaris_pthreads.c b/solaris_pthreads.c
index bae7719..1e43d09 100644
--- a/solaris_pthreads.c
+++ b/solaris_pthreads.c
@@ -16,8 +16,10 @@
* Modified by Peter C. for Solaris Posix Threads.
*/
-# if defined(GC_SOLARIS_PTHREADS)
+# if defined(GC_SOLARIS_PTHREADS) || defined(GC_THREADS)
# include "private/gc_priv.h"
+# endif
+# if defined(GC_SOLARIS_PTHREADS)
# include <pthread.h>
# include <thread.h>
# include <signal.h>