summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorluozijun <gnulinux@126.com>2017-12-25 07:55:58 +0800
committerluozijun <gnulinux@126.com>2017-12-26 10:36:01 +0800
commit5ea536a0a0502adcac8194ce92d7e8fbcfa40a9f (patch)
treefe40396f42252f6818b7a7ca60b507d10b281077 /libc-test
parentd5af3c6f41e7d0a44fdb5953d2bdfaa44f9900e3 (diff)
downloadrust-libc-5ea536a0a0502adcac8194ce92d7e8fbcfa40a9f.tar.gz
Add some constants for linux and macos
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index b195464208..a356be20d4 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -174,6 +174,7 @@ fn main() {
cfg.header("crt_externs.h");
}
cfg.header("net/route.h");
+ cfg.header("netinet/if_ether.h");
cfg.header("sys/proc_info.h");
}
@@ -251,7 +252,8 @@ fn main() {
if linux || android {
cfg.header("sys/fsuid.h");
cfg.header("linux/seccomp.h");
-
+ cfg.header("linux/if_ether.h");
+
// DCCP support
if !uclibc && !musl && !emscripten {
cfg.header("linux/dccp.h");