Skip to content

Commit

Permalink
Fix build on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
asomers committed Jul 8, 2017
1 parent 8abdeb7 commit 6e3da15
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/unistd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -974,6 +974,9 @@ CHILD_MAX = libc::_SC_CHILD_MAX,
COLL_WEIGHTS_MAX = libc::_SC_COLL_WEIGHTS_MAX,
DELAYTIMER_MAX = libc::_SC_DELAYTIMER_MAX,
EXPR_NEST_MAX = libc::_SC_EXPR_NEST_MAX,
#[cfg(any(target_os="dragonfly", target_os="freebsd", target_os = "ios",
target_os="linux", target_os = "macos", target_os="netbsd",
target_os="openbsd"))]
HOST_NAME_MAX = libc::_SC_HOST_NAME_MAX,
IOV_MAX = libc::_SC_IOV_MAX,
LINE_MAX = libc::_SC_LINE_MAX,
Expand Down

0 comments on commit 6e3da15

Please sign in to comment.