diff options
Diffstat (limited to 'src/spdy2http/proxy.c')
-rw-r--r-- | src/spdy2http/proxy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/spdy2http/proxy.c b/src/spdy2http/proxy.c index 0623e23d..c7e37f78 100644 --- a/src/spdy2http/proxy.c +++ b/src/spdy2http/proxy.c | |||
@@ -1174,9 +1174,11 @@ run () | |||
1174 | { | 1174 | { |
1175 | 1175 | ||
1176 | struct timespec ts; | 1176 | struct timespec ts; |
1177 | #ifdef CLOCK_MONOTONIC | ||
1177 | if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) | 1178 | if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) |
1178 | PRINT_VERBOSE2("time now %lld %lld", (unsigned long long)ts.tv_sec, (unsigned long long)ts.tv_nsec); | 1179 | PRINT_VERBOSE2("time now %lld %lld", (unsigned long long)ts.tv_sec, (unsigned long long)ts.tv_nsec); |
1179 | } | 1180 | } |
1181 | #endif | ||
1180 | } | 1182 | } |
1181 | while(loop); | 1183 | while(loop); |
1182 | 1184 | ||