diff options
author | Jens Lorenz <jlorenz@de.adit-jv.com> | 2017-06-22 10:56:20 +0200 |
---|---|---|
committer | Jens Lorenz <jlorenz@de.adit-jv.com> | 2017-09-29 11:42:01 +0200 |
commit | 50bbb68460af25dcba4110b11b4f0bf61d6e111a (patch) | |
tree | 56b8b489248a0a77169e47a919847bde107b1c87 /AudioManagerUtilities/src | |
parent | 31922cca3a063b2f413967312ae1f927d624a1ed (diff) | |
download | audiomanager-50bbb68460af25dcba4110b11b4f0bf61d6e111a.tar.gz |
CMake: Add pthread support
If DLT is turned off, CAmDltWrapper needs linkage to pthread.
Furthermore, CAmSerializer doesn't need to #include pthread.
Signed-off-by: Guerra Mattia <mguerra@de.adit-jv.com>
Diffstat (limited to 'AudioManagerUtilities/src')
-rw-r--r-- | AudioManagerUtilities/src/CAmDltWrapper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/AudioManagerUtilities/src/CAmDltWrapper.cpp b/AudioManagerUtilities/src/CAmDltWrapper.cpp index 37a5ff0..742b396 100644 --- a/AudioManagerUtilities/src/CAmDltWrapper.cpp +++ b/AudioManagerUtilities/src/CAmDltWrapper.cpp @@ -29,6 +29,7 @@ #include <string.h> #include <chrono> #include <ctime> +#include <unistd.h> namespace am { |