rtx/posix/Itimer.c: Handle return value of `read`
authorErik de Castro Lopo <erikd@mega-nerd.com>
Fri, 11 Mar 2016 09:40:50 +0000 (10:40 +0100)
committerBen Gamari <ben@smart-cactus.org>
Fri, 11 Mar 2016 12:20:19 +0000 (13:20 +0100)
commit8626d76a723c2514bab91afb82e6b8b94fed2a2b
tree205631f4201527e2f3c645718bd9e080bc3b779b
parent06b70ffc7b17bd34ea771b8be11574c4002db6c8
rtx/posix/Itimer.c: Handle return value of `read`

On Ubuntu libc's `read` function is marked with attribute
`warn_unused_result` which was causing build failures on
Harbourmaster.

Test Plan: validate on Harbourmaster

Reviewers: austin, hvr, bgamari

Reviewed By: hvr, bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1993

GHC Trac Issues: #11697
rts/posix/Itimer.c