diff mbox

[v5,8/8] linux-generic: time: fix c99 clock_gettime

Message ID 1425048757-28438-8-git-send-email-mike.holmes@linaro.org
State Accepted
Commit 973ff3fbdf876cc281f18a3b31048513ddfde188
Headers show

Commit Message

Mike Holmes Feb. 27, 2015, 2:52 p.m. UTC
Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
---
 platform/linux-generic/odp_time.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/platform/linux-generic/odp_time.c b/platform/linux-generic/odp_time.c
index 0098af6..31d6656 100644
--- a/platform/linux-generic/odp_time.c
+++ b/platform/linux-generic/odp_time.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#define _POSIX_C_SOURCE 200809L
+
 #include <odp/time.h>
 #include <odp/hints.h>
 #include <odp/system_info.h>