diff options
author | kurtis.heimerl <kurtis.heimerl@19bc5d8c-e614-43d4-8b26-e1612bc8e597> | 2012-07-22 05:09:00 +0000 |
---|---|---|
committer | kurtis.heimerl <kurtis.heimerl@19bc5d8c-e614-43d4-8b26-e1612bc8e597> | 2012-07-22 05:09:00 +0000 |
commit | 9123274be93080b69de3a576c71ec9290fb3e5d8 (patch) | |
tree | 9c09b89278b8a2446613aaf557dfe15f8a85bf3f | |
parent | 711fdf6f8133633ca88f800aa41a5d42c0a178b5 (diff) |
Public release now works with g++4.7. In 4.7, unistd.h is no longer imported by default
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3918 19bc5d8c-e614-43d4-8b26-e1612bc8e597
-rw-r--r-- | CommonLibs/Threads.h | 1 | ||||
-rw-r--r-- | CommonLibs/Timeval.h | 2 |
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. */ |