diff --git a/src/fcntl.rs b/src/fcntl.rs index 67e3a7c2b5..f4d19ba3af 100644 --- a/src/fcntl.rs +++ b/src/fcntl.rs @@ -141,7 +141,7 @@ libc_bitflags!( #[cfg(any( freebsdlike, linux_android, - solarish, + target_os = "illumos", target_os = "netbsd" ))] O_DIRECT;