summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-08-08 13:17:43 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-08-08 13:17:43 +0200
commit3c80fae407f451691a4a4178617986e32d0c8162 (patch)
tree90cd265cc8f001457932bb7ad8bd4dcae8fa43bc /include
parentc1e1831ded0330771fd175f1c8138ed82c90f9f8 (diff)
parentfc7d2c35182e61cb5fff41bcf485b9e24f7ba39b (diff)
downloadouroboros-3c80fae407f451691a4a4178617986e32d0c8162.tar.gz
ouroboros-3c80fae407f451691a4a4178617986e32d0c8162.zip
Merged in sandervrijders/ouroboros/be (pull request #188)
lib, tools: Add POSIX version to source files
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/dev.h2
-rw-r--r--include/ouroboros/time_utils.h1
2 files changed, 2 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>
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 <time.h>
#include <sys/time.h>
#include <limits.h> /* LONG_MAX */