summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorBryant Mairs <bryantmairs@google.com>2017-11-05 13:13:35 -0800
committerBryant Mairs <bryantmairs@google.com>2017-11-05 13:52:59 -0800
commitc0935ac343ebc9bed86be30bea7e7a2fb1adf189 (patch)
treecfeba916a5d5a1a52d6a7260b0b2f2438217a347 /libc-test
parent833e67ffb479a92f8a82ab2b2f8da51039d82757 (diff)
downloadrust-libc-c0935ac343ebc9bed86be30bea7e7a2fb1adf189.tar.gz
Add MFD_ constants for memfd_create
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index 5212697dfe..3bf0eb6f0a 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -248,6 +248,10 @@ fn main() {
if !uclibc && !musl && !emscripten {
cfg.header("linux/dccp.h");
}
+
+ if !musl || mips {
+ cfg.header("linux/memfd.h");
+ }
}
if linux {