aboutsummaryrefslogtreecommitdiffstats
path: root/CommonLibs
diff options
context:
space:
mode:
Diffstat (limited to 'CommonLibs')
-rw-r--r--CommonLibs/Threads.h1
-rw-r--r--CommonLibs/Timeval.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/CommonLibs/Threads.h b/CommonLibs/Threads.h
index c1cfc75..c61a3d8 100644
--- a/CommonLibs/Threads.h
+++ b/CommonLibs/Threads.h
@@ -29,6 +29,7 @@
#include <pthread.h>
#include <iostream>
#include <assert.h>
+#include <unistd.h>
class Mutex;
diff --git a/CommonLibs/Timeval.h b/CommonLibs/Timeval.h
index c2a2617..f528819 100644
--- a/CommonLibs/Timeval.h
+++ b/CommonLibs/Timeval.h
@@ -29,7 +29,7 @@
#include <stdint.h>
#include "sys/time.h"
#include <iostream>
-
+#include <unistd.h>
/** A wrapper on usleep to sleep for milliseconds. */