From 25519812d447bdc763f28f601688d798fcbe43b2 Mon Sep 17 00:00:00 2001 From: Adam Grandquist Date: Sat, 23 Jul 2016 13:17:12 -0700 Subject: Fix macOS 10.12 having `clock_gettime` See https://github.com/Homebrew/homebrew-core/issues/1957 for similar issues. --- src/time.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/time.c b/src/time.c index 353f259..2c58950 100644 --- a/src/time.c +++ b/src/time.c @@ -10,9 +10,11 @@ #include #endif +#ifndef HAVE_CLOCK_GETTIME #ifdef __APPLE__ #include "time_osx.h" #endif +#endif #include "compat.h" -- cgit v1.2.3-55-g6feb