#if defined(__FreeBSD__)
+#include <mono/utils/mono-threads.h>
#include <pthread.h>
#include <pthread_np.h>
void
-mono_threads_core_get_stack_bounds (guint8 **staddr, size_t *stsize)
+mono_threads_platform_get_stack_bounds (guint8 **staddr, size_t *stsize)
{
pthread_attr_t attr;
guint8 *current = (guint8*)&attr;