commit | 02255b24df4406d84be418c10aa5b4f94e10d8a9 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu May 23 08:36:29 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu May 23 08:36:29 2019 +0200 |
tree | 8687cc782ef3768357b990723d59aee61ae2177d | |
parent | 567406949b18220f90222b45b339a08177104594 [diff] |
BUILD: watchdog: use si_value.sival_int, not si_int for the timer's value Bah, the linux manpage suggests to use si_int but it's a fake, it's only a define on sigval.sival_int where sigval is defined as si_value. Let's use si_value.sival_int, at least it builds on both Linux and FreeBSD. It's likely that this code will have to be limited to a small subset of OSes if it causes difficulties like this.