[Git][ghc/ghc][wip/supersven/ghc-9.10-riscv-ncg] Darwin: Use ElfTypes.h
Sven Tennie (@supersven)
gitlab at gitlab.haskell.org
Sun Jun 23 14:05:38 UTC 2024
Sven Tennie pushed to branch wip/supersven/ghc-9.10-riscv-ncg at Glasgow Haskell Compiler / GHC
Commits:
b2e3c98b by Sven Tennie at 2024-06-23T14:03:37+00:00
Darwin: Use ElfTypes.h
elf.h does not exist on Darwin. The mentioned header file has conditions
to cope with that.
- - - - -
1 changed file:
- rts/linker/elf_reloc_riscv64.c
Changes:
=====================================
rts/linker/elf_reloc_riscv64.c
=====================================
@@ -3,7 +3,7 @@
#include "Rts.h"
#include "Stg.h"
#include "SymbolExtras.h"
-#include <elf.h>
+#include "linker/ElfTypes.h"
#include "elf_plt.h"
#include "elf_util.h"
#include "rts/Messages.h"
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b2e3c98b3d7313923fc9a004572221abe57fd648
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b2e3c98b3d7313923fc9a004572221abe57fd648
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240623/b7cc4759/attachment.html>
More information about the ghc-commits
mailing list