$OpenBSD: patch-mono_utils_gc_wrapper_h,v 1.2 2011/11/03 09:55:12 ajacoutot Exp $ --- mono/utils/gc_wrapper.h.orig Tue Aug 23 02:10:06 2011 +++ mono/utils/gc_wrapper.h Thu Nov 3 08:54:45 2011 @@ -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 +# define GC_THREADS # ifdef HAVE_GC_GC_H # include # include