$OpenBSD: patch-mono_utils_gc_wrapper_h,v 1.3 2015/12/15 15:32:04 robert Exp $
--- mono/utils/gc_wrapper.h.orig	Sun Dec 13 18:15:42 2015
+++ mono/utils/gc_wrapper.h	Sun Dec 13 18:16:42 2015
@@ -37,6 +37,12 @@
 #       endif
 #	endif
 
+	/*
+   	 * In the case of multithreaded code, gc.h should be included
+	 * after the threads header file, and after defining GC_THREADS.
+	 */
+#       include <pthread.h>
+#       define GC_THREADS
 #	include <gc.h>
 #	include <gc_typed.h>
 #	include <gc_mark.h>
