summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel <g2p.code@gmail.com>2017-07-18 20:42:09 +0200
committerGabriel <g2p.code@gmail.com>2017-07-19 06:52:12 +0200
commit75e3696eca9df53ad94682bce6f821bbf8dde41a (patch)
tree81a110965e8d2669b0bc9a4729969599385bd8d3
parent071a69b5c48ffcf7d52d160136b670d284d020d9 (diff)
downloadrust-libc-75e3696eca9df53ad94682bce6f821bbf8dde41a.tar.gz
Include linux/falloc.h directly
glibc support is behind, as indicated by https://github.com/karelzak/util-linux/blob/master/sys-utils/fallocate.c
-rw-r--r--libc-test/build.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index 0b905497d8..81ca584af0 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -184,6 +184,7 @@ fn main() {
cfg.header("sys/fsuid.h");
cfg.header("shadow.h");
cfg.header("linux/input.h");
+ cfg.header("linux/falloc.h");
if x86_64 {
cfg.header("sys/io.h");
}