Merge pull request #12342 from PolynomialDivision/feature/add_dawn_node_exporter
[feed/packages.git] / utils / telldus-core / patches / 950-pthread.patch
1 --- a/common/Thread.cpp
2 +++ b/common/Thread.cpp
3 @@ -16,6 +16,8 @@
4 #endif
5 #include "common/EventHandler.h"
6
7 +#include <pthread.h>
8 +
9 namespace TelldusCore {
10
11 class ThreadPrivate {
12 --- a/service/Timer.cpp
13 +++ b/service/Timer.cpp
14 @@ -7,6 +7,7 @@
15 #include "service/Timer.h"
16 #ifdef _WINDOWS
17 #else
18 +#include <pthread.h>
19 #include <sys/time.h>
20 #include <errno.h>
21 #endif