aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOscar Lim <o-lim@users.noreply.github.com>2016-07-23 21:26:18 -0700
committerGitHub <noreply@github.com>2016-07-23 21:26:18 -0700
commit5e172430e57c1349485a151fa8000b12071a4671 (patch)
tree76b0ac2cde91884abbc1a3798fccebc4a6b6d34c
parent29c3365ae7bcf034e9c9e3a0f248fc9f0fc486ac (diff)
parent25519812d447bdc763f28f601688d798fcbe43b2 (diff)
downloadluasystem-5e172430e57c1349485a151fa8000b12071a4671.tar.gz
luasystem-5e172430e57c1349485a151fa8000b12071a4671.tar.bz2
luasystem-5e172430e57c1349485a151fa8000b12071a4671.zip
Merge pull request #2 from grandquista/patch-1
Fix macOS 10.12 having `clock_gettime`
-rw-r--r--src/time.c2
1 files changed, 2 insertions, 0 deletions
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 @@
10#include <sys/time.h> 10#include <sys/time.h>
11#endif 11#endif
12 12
13#ifndef HAVE_CLOCK_GETTIME
13#ifdef __APPLE__ 14#ifdef __APPLE__
14#include "time_osx.h" 15#include "time_osx.h"
15#endif 16#endif
17#endif
16 18
17#include "compat.h" 19#include "compat.h"
18 20