this patch is needed for darwin to compile glib
darwin needs this patch to compile glib