Index: mono/utils/gc_wrapper.h
===================================================================
--- mono/utils/gc_wrapper.h (revision 154762)
+++ mono/utils/gc_wrapper.h (working copy)
@@ -33,6 +33,14 @@
# endif
# endif
+ /*
+ * In the case of multithreaded code, gc.h should be included
+ * after the threads header file, and after defining GC_THREADS.
+ */
+# if defined(HAVE_PTHREAD_H)
+# include <pthread.h>
+# endif
+# define GC_THREADS
# ifdef HAVE_GC_GC_H
# include <gc/gc.h>
# include <gc/gc_typed.h>
Index: web/mono-build.sh
===================================================================
--- web/mono-build.sh (revision 154762)
+++ web/mono-build.sh (working copy)
@@ -1,4 +1,4 @@
-#! /usr/bin/env bash
+#!/bin/sh
# Script to automate the building of mono and its dependencies.
# Relies on wget being installed (could make it fall back to using
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list