diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d49828813..91300043ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,8 @@ This project adheres to [Semantic Versioning](http://semver.org/). ([#949](https://github.com/nix-rust/nix/pull/949)) ([#958](https://github.com/nix-rust/nix/pull/958)) - Added a `acct` wrapper module for enabling and disabling process accounting ([#952](https://github.com/nix-rust/nix/pull/952)) +- Added the `time_t` and `suseconds_t` public aliases within `sys::time`. + ([#968](https://github.com/nix-rust/nix/pull/968)) ### Changed - Increased required Rust version to 1.24.1 diff --git a/src/sys/time.rs b/src/sys/time.rs index 51286a06b4..e300cfe7d5 100644 --- a/src/sys/time.rs +++ b/src/sys/time.rs @@ -1,5 +1,6 @@ use std::{cmp, fmt, ops}; -use libc::{c_long, time_t, suseconds_t, timespec, timeval}; +use libc::{c_long, timespec, timeval}; +pub use libc::{time_t, suseconds_t}; pub trait TimeValLike: Sized { #[inline]