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. --- include/ouroboros/dev.h | 2 +- include/ouroboros/time_utils.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/ouroboros/dev.h b/include/ouroboros/dev.h index 91d5c7de..d5fb744b 100644 --- a/include/ouroboros/dev.h +++ b/include/ouroboros/dev.h @@ -22,7 +22,7 @@ #include #include -#include +#include #include #include diff --git a/include/ouroboros/time_utils.h b/include/ouroboros/time_utils.h index 320cb6f1..e097a01f 100644 --- a/include/ouroboros/time_utils.h +++ b/include/ouroboros/time_utils.h @@ -34,6 +34,7 @@ #define MILLION 1000000L #define BILLION 1000000000L +#include #include #include /* LONG_MAX */ -- cgit v1.2.3