summary refs log tree commit diff
path: root/src/libstd/os/linux/raw.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/os/linux/raw.rs')
-rw-r--r--src/libstd/os/linux/raw.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/os/linux/raw.rs b/src/libstd/os/linux/raw.rs
index f44199f311b..953d0917141 100644
--- a/src/libstd/os/linux/raw.rs
+++ b/src/libstd/os/linux/raw.rs
@@ -205,7 +205,8 @@ mod arch {
     }
 }
 
-#[cfg(target_arch = "x86_64")]
+#[cfg(any(target_arch = "x86_64", target_arch = "powerpc64",
+          target_arch = "powerpc64le"))]
 mod arch {
     use super::{dev_t, mode_t};
     use os::raw::{c_long, c_int};