summaryrefslogtreecommitdiff
path: root/src/unix/notbsd/android/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/unix/notbsd/android/mod.rs')
-rw-r--r--src/unix/notbsd/android/mod.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/unix/notbsd/android/mod.rs b/src/unix/notbsd/android/mod.rs
index e26bceac30..6187f31585 100644
--- a/src/unix/notbsd/android/mod.rs
+++ b/src/unix/notbsd/android/mod.rs
@@ -43,6 +43,14 @@ s! {
pub st_ino: ::c_ulonglong,
}
+ pub struct dirent {
+ pub d_ino: u64,
+ pub d_off: i64,
+ pub d_reclen: ::c_ushort,
+ pub d_type: ::c_uchar,
+ pub d_name: [::c_char; 256],
+ }
+
pub struct pthread_attr_t {
pub flags: ::uint32_t,
pub stack_base: *mut ::c_void,