aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/time.c
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-12-04 12:11:15 +0000
committerMatthew Wild <mwild1@gmail.com>2018-12-04 12:11:15 +0000
commit4ef9902ea95ef9d99d0e98dd85dc6a124d4c3894 (patch)
tree874f62aebf6470f8245c363af577677185af693d /util-src/time.c
parentf1ada80c232b4c2ddcd0b4f3eaec9594a993bcec (diff)
downloadprosody-4ef9902ea95ef9d99d0e98dd85dc6a124d4c3894.tar.gz
prosody-4ef9902ea95ef9d99d0e98dd85dc6a124d4c3894.zip
util.time: Bump POSIX_C_SOURCE to ensure visibility of CLOCK_MONOTONIC on FreeBSD (fixes #1253)
Diffstat (limited to 'util-src/time.c')
-rw-r--r--util-src/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-src/time.c b/util-src/time.c
index bfad52ee..bc6b5b1c 100644
--- a/util-src/time.c
+++ b/util-src/time.c
@@ -1,5 +1,5 @@
#ifndef _POSIX_C_SOURCE
-#define _POSIX_C_SOURCE 199309L
+#define _POSIX_C_SOURCE 200809L
#endif
#include <time.h>