summaryrefslogtreecommitdiff
path: root/boehm-gc/solaris_pthreads.c
diff options
context:
space:
mode:
Diffstat (limited to 'boehm-gc/solaris_pthreads.c')
-rw-r--r--boehm-gc/solaris_pthreads.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/boehm-gc/solaris_pthreads.c b/boehm-gc/solaris_pthreads.c
index bae77193593..1e43d0904f9 100644
--- a/boehm-gc/solaris_pthreads.c
+++ b/boehm-gc/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>