From fc7d2c35182e61cb5fff41bcf485b9e24f7ba39b Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Mon, 8 Aug 2016 12:02:13 +0200 Subject: lib, tools: Add POSIX version to source files Sometimes the POSIX version was not set in source files. This caused the compiler to not find the timespec struct, since we are using C89. --- src/lib/cdap.c | 1 + src/lib/time_utils.c | 1 + 2 files changed, 2 insertions(+) (limited to 'src/lib') diff --git a/src/lib/cdap.c b/src/lib/cdap.c index 4599fd8b..0c6140eb 100644 --- a/src/lib/cdap.c +++ b/src/lib/cdap.c @@ -20,6 +20,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include #include #include #include diff --git a/src/lib/time_utils.c b/src/lib/time_utils.c index 2521f217..d0b312da 100644 --- a/src/lib/time_utils.c +++ b/src/lib/time_utils.c @@ -20,6 +20,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include #include #include -- cgit v1.2.3