summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRyan Zoeller <rtzoeller@rtzoeller.com>2021-12-27 02:50:55 -0600
committerRyan Zoeller <rtzoeller@rtzoeller.com>2021-12-27 02:56:19 -0600
commit1eeccb942e9cde89d96a927c2a19622b213e4bfd (patch)
tree221b0d140e08e72287d10692bc3c35a754fd3dea /src
parenta392647f450f88bf4a162135712ea023e8da3b1a (diff)
downloadnix-1eeccb942e9cde89d96a927c2a19622b213e4bfd.zip
Add posix_fallocate on DragonFly
Diffstat (limited to 'src')
-rw-r--r--src/fcntl.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fcntl.rs b/src/fcntl.rs
index 74d9eb9c..c02a81a9 100644
--- a/src/fcntl.rs
+++ b/src/fcntl.rs
@@ -749,6 +749,7 @@ mod posix_fadvise {
#[cfg(any(
target_os = "linux",
target_os = "android",
+ target_os = "dragonfly",
target_os = "emscripten",
target_os = "fuchsia",
any(target_os = "wasi", target_env = "wasi"),