[ovs-dev] [PATCH] timeval: Check for OS-provided clock_gettime on macOS

Ben Pfaff blp at ovn.org
Mon Oct 30 16:56:58 UTC 2017

On Sat, Oct 28, 2017 at 04:38:30PM +0100, Richard Oliver wrote:
> [Problem]
> Compilation error on newer versions of macOS (Sierra onwards) due to
> multiple declarations of clock_gettime.
> [Solution]
> Have configure check for clock_gettime and check this result in
> timeval to avoid incorrectly declaring/defining clock_gettime again.
> [Testing]
> Source code now successfully builds on macOS.
> Signed-off-by: Richard Oliver <richard at richard-oliver.co.uk>

Thanks a lot, I applied this to master and branch-2.8.

More information about the dev mailing list