summaryrefslogtreecommitdiff
path: root/src/lib/time_utils.c
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2016-08-08 12:02:13 +0200
committerSander Vrijders <[email protected]>2016-08-08 12:02:13 +0200
commitfc7d2c35182e61cb5fff41bcf485b9e24f7ba39b (patch)
tree90cd265cc8f001457932bb7ad8bd4dcae8fa43bc /src/lib/time_utils.c
parentc1e1831ded0330771fd175f1c8138ed82c90f9f8 (diff)
downloadouroboros-fc7d2c35182e61cb5fff41bcf485b9e24f7ba39b.tar.gz
ouroboros-fc7d2c35182e61cb5fff41bcf485b9e24f7ba39b.zip
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.
Diffstat (limited to 'src/lib/time_utils.c')
-rw-r--r--src/lib/time_utils.c1
1 files changed, 1 insertions, 0 deletions
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 <ouroboros/config.h>
#include <ouroboros/time_utils.h>
#include <stddef.h>