* modified is included with the above copyright notice.
*/
-#if defined(GC_LINUX_THREADS)
-
#include "private/gc_priv.h" /* For GC_compare_and_exchange, GC_memory_barrier */
+
+#if defined(GC_LINUX_THREADS) || defined(GC_NETBSD_THREADS)
+
#include "private/specific.h"
static tse invalid_tse = {INVALID_QTID, 0, 0, INVALID_THREADID};