From d89982237d0ab3514da136d65aa602f6cd1c241c Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 24 Sep 2018 20:40:49 -0700 Subject: [PATCH] Use clock_gettime() on Linux --- moonlight-common-c/moonlight-common-c.pro | 1 + 1 file changed, 1 insertion(+) diff --git a/moonlight-common-c/moonlight-common-c.pro b/moonlight-common-c/moonlight-common-c.pro index 97117c63..7f73d074 100644 --- a/moonlight-common-c/moonlight-common-c.pro +++ b/moonlight-common-c/moonlight-common-c.pro @@ -24,6 +24,7 @@ macx { unix:!macx { CONFIG += link_pkgconfig PKGCONFIG += openssl + DEFINES += HAVE_CLOCK_GETTIME=1 } COMMON_C_DIR = $$PWD/moonlight-common-c