summaryrefslogtreecommitdiff
path: root/include/ouroboros/dev.h
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-08-08 12:02:13 +0200
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-08-08 12:02:13 +0200
commitfc7d2c35182e61cb5fff41bcf485b9e24f7ba39b (patch)
tree90cd265cc8f001457932bb7ad8bd4dcae8fa43bc /include/ouroboros/dev.h
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 'include/ouroboros/dev.h')
-rw-r--r--include/ouroboros/dev.h2
1 files changed, 1 insertions, 1 deletions
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 <unistd.h>
#include <stdint.h>
-#include <sys/time.h>
+#include <time.h>
#include <ouroboros/qos.h>
#include <ouroboros/flow.h>