22 lines
373 B
Diff
22 lines
373 B
Diff
|
--- 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
|