Include regex.h in Linker.c on OS X too
authorIan Lynagh <igloo@earth.li>
Wed, 20 Jan 2010 20:19:58 +0000 (20:19 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 20 Jan 2010 20:19:58 +0000 (20:19 +0000)
rts/Linker.c

index 7e93765..2f40270 100644 (file)
@@ -89,6 +89,7 @@
 #  include <math.h>
 #elif defined(darwin_HOST_OS)
 #  define OBJFORMAT_MACHO
+#  include <regex.h>
 #  include <mach-o/loader.h>
 #  include <mach-o/nlist.h>
 #  include <mach-o/reloc.h>