summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorJoshua M. Clulow <jmc@oxide.computer>2020-08-02 21:14:05 -0700
committerJoshua M. Clulow <jmc@oxide.computer>2020-08-05 20:39:45 -0700
commit1f0ea0da7317411b0987e3ae0f26b977c9df7fb7 (patch)
tree664d654fa5236e4be93bf507ac9735094631eaf0 /libc-test
parente4a1f269842d486e235e36c24cfb22e4c63091bd (diff)
downloadrust-libc-1f0ea0da7317411b0987e3ae0f26b977c9df7fb7.tar.gz
add openpty and forkpty implementation for illumos systems
At time of writing, illumos systems do not provide an implementation of the openpty() and forkpty() wrappers provided on some other UNIX systems. While we expect to grow an implementation, it seems prudent to provide a compatibility routine here first to unblock illumos support in the popular nix crate.
Diffstat (limited to 'libc-test')
-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 04cc19c6c7..753987a59b 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -725,6 +725,7 @@ fn test_solarish(target: &str) {
"sys/socket.h",
"sys/stat.h",
"sys/statvfs.h",
+ "sys/stropts.h",
"sys/shm.h",
"sys/time.h",
"sys/times.h",