summaryrefslogtreecommitdiff
path: root/src/unix/mod.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-10-29 22:59:44 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-10-30 14:26:03 -0700
commitd6e07e27340741d319e313e72341ca2aa9a9843b (patch)
tree9a7eec3cc6dd71898cae785222ab3780746699aa /src/unix/mod.rs
parent1effc23b90d9c3994fc88d46fef3938ee33f0cce (diff)
downloadrust-libc-d6e07e27340741d319e313e72341ca2aa9a9843b.tar.gz
Define dirent_t on all platforms
Diffstat (limited to 'src/unix/mod.rs')
-rw-r--r--src/unix/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unix/mod.rs b/src/unix/mod.rs
index c78058674d..cb45123f9e 100644
--- a/src/unix/mod.rs
+++ b/src/unix/mod.rs
@@ -10,6 +10,8 @@ pub type in_addr_t = u32;
pub type in_port_t = u16;
pub type sighandler_t = ::size_t;
+pub enum DIR {}
+
s! {
pub struct utimbuf {
pub actime: time_t,