projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
0790115
)
Include regex.h in Linker.c on OS X too
author
Ian Lynagh
<igloo@earth.li>
Wed, 20 Jan 2010 20:19:58 +0000
(20:19 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Wed, 20 Jan 2010 20:19:58 +0000
(20:19 +0000)
rts/Linker.c
patch
|
blob
|
history
diff --git
a/rts/Linker.c
b/rts/Linker.c
index
7e93765
..
2f40270
100644
(file)
--- a/
rts/Linker.c
+++ b/
rts/Linker.c
@@
-89,6
+89,7
@@
# include <math.h>
#elif defined(darwin_HOST_OS)
# define OBJFORMAT_MACHO
# 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>
# include <mach-o/loader.h>
# include <mach-o/nlist.h>
# include <mach-o/reloc.h>