summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2018-09-03 16:10:19 -0700
committerSteven Fackler <sfackler@gmail.com>2018-09-08 10:03:33 -0700
commit0f461200d4ec2b6309c4d4daf37e1bd537148591 (patch)
treeaa70a6b5ce27ecd044121b20216bebd1a05279ee /libc-test
parent267375e99957d97317b24f19210af576cb58b2f2 (diff)
downloadrust-libc-0f461200d4ec2b6309c4d4daf37e1bd537148591.tar.gz
Add a couple more ELF types
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index f003a32da7..5b4a9c47d8 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -362,7 +362,11 @@ fn main() {
"Elf32_Shdr" |
"Elf64_Shdr" |
"Elf32_Sym" |
- "Elf64_Sym" => ty.to_string(),
+ "Elf64_Sym" |
+ "Elf32_Ehdr" |
+ "Elf64_Ehdr" |
+ "Elf32_Chdr" |
+ "Elf64_Chdr" => ty.to_string(),
// Fixup a few types on windows that don't actually exist.
"time64_t" if windows => "__time64_t".to_string(),