aboutsummaryrefslogtreecommitdiff
path: root/utils/telldus-core/patches/950-pthread.patch
blob: 89cb89f7d7afe603c012a2c20bf092879622dd10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/common/Thread.cpp
+++ b/common/Thread.cpp
@@ -16,6 +16,8 @@
 #endif
 #include "common/EventHandler.h"
 
+#include <pthread.h>
+
 namespace TelldusCore {
 
 class ThreadPrivate {
--- a/service/Timer.cpp
+++ b/service/Timer.cpp
@@ -7,6 +7,7 @@
 #include "service/Timer.h"
 #ifdef _WINDOWS
 #else
+#include <pthread.h>
 #include <sys/time.h>
 #include <errno.h>
 #endif