X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fsessiond-comm%2Finet6.c;h=1413c35172a32bfda2293bbe8aae6fd8acba6c1a;hp=51d02ebb91d426fffc3928e0435240e8077ac861;hb=389fbf04b41e2002be44a1e3392bfade2f1deeef;hpb=d05d6fe165c27f077445d1c213becd077173adab diff --git a/src/common/sessiond-comm/inet6.c b/src/common/sessiond-comm/inet6.c index 51d02ebb9..1413c3517 100644 --- a/src/common/sessiond-comm/inet6.c +++ b/src/common/sessiond-comm/inet6.c @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include @@ -157,7 +157,7 @@ int connect_with_timeout(struct lttcomm_sock *sock) return -1; } - ret = clock_gettime(CLOCK_MONOTONIC, &orig_time); + ret = lttng_clock_gettime(CLOCK_MONOTONIC, &orig_time); if (ret == -1) { PERROR("clock_gettime"); return -1; @@ -211,7 +211,7 @@ int connect_with_timeout(struct lttcomm_sock *sock) } } /* ret == 0: timeout */ - ret = clock_gettime(CLOCK_MONOTONIC, &cur_time); + ret = lttng_clock_gettime(CLOCK_MONOTONIC, &cur_time); if (ret == -1) { PERROR("clock_gettime"); connect_ret = ret;