Include regex.h in Linker.c on OS X too
[ghc-hetmet.git] / 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>