summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorAndrew Cann <shum@canndrew.org>2018-05-30 18:08:28 +0800
committerAndrew Cann <shum@canndrew.org>2018-05-30 18:08:28 +0800
commitb02c6a328dc80826f0f2561b3378f6c8749d69df (patch)
tree4461e388910774d392d1f99f455bb09257929476 /libc-test
parentdfaa8f6055996516e6fbcf9b7ca4d0991a701059 (diff)
downloadrust-libc-b02c6a328dc80826f0f2561b3378f6c8749d69df.tar.gz
Remove ioctl symbols for emscripten
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index 5396cd2530..327b9206b4 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -241,12 +241,12 @@ fn main() {
cfg.header("sys/personality.h");
cfg.header("sys/swap.h");
cfg.header("pty.h");
- cfg.header("linux/sockios.h");
if !uclibc {
cfg.header("sys/sysinfo.h");
}
cfg.header("sys/reboot.h");
if !emscripten {
+ cfg.header("linux/sockios.h");
cfg.header("linux/netlink.h");
cfg.header("linux/genetlink.h");
cfg.header("linux/netfilter_ipv4.h");