diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2015-01-13 11:54:28 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2015-01-23 19:12:59 +0100 |
commit | bd1be70e0ef665bae2c28a4f877e4a5a8268de14 (patch) | |
tree | bccd5b002077e0c1a94f98e3d46964b1f8193d9c /header.FDL | |
parent | c8849dd8d587eca7aa59c5c865986f326c1e7c39 (diff) |
Fix compilation of non-waittid forkfd() outside of Linux
POSIX.1 does not guarantee the presence of the si_utime and si_stime
members. So instead of trying to set those members to zero, ask the
compiler to initialize everything for us.
This was found on OS X when HAVE_WAITTID was removed.
forkfd.c:192:11: error: no member named 'si_utime' in '__siginfo'
forkfd.c:193:11: error: no member named 'si_stime' in '__siginfo'
Change-Id: Ic5d393bfd36e48a193fcffff13b90aa6ccf592ae
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'header.FDL')
0 files changed, 0 insertions, 0 deletions