summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorneirac <cneirabustos@gmail.com>2018-01-11 15:25:00 +0000
committerneirac <cneirabustos@gmail.com>2018-01-11 15:25:00 +0000
commit3092748c95d5dcbf2d97e017b0a4cf4b7ebf9a75 (patch)
treefcd4c04988f4c5f1b1ed78c478e6f10ffdb700dc /libc-test
parent4939bb2224f5757a43df3ae5f5404d551999cfc1 (diff)
downloadrust-libc-3092748c95d5dcbf2d97e017b0a4cf4b7ebf9a75.tar.gz
adding epoll for illumos
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index f54f843d4b..4f2caa2857 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -215,7 +215,7 @@ fn main() {
cfg.header("sys/reg.h");
}
}
-
+
if linux || android || emscripten {
cfg.header("malloc.h");
cfg.header("net/ethernet.h");
@@ -250,6 +250,9 @@ fn main() {
}
}
}
+ if solaris {
+ cfg.header("sys/epoll.h");
+ }
if linux || android {
cfg.header("sys/fsuid.h");