telldus-core: fix compilation with libcxx 10

Missing headers and wrong namespace.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-06-02 16:03:32 -07:00
parent 369ef50e67
commit e7094f3ef7
4 changed files with 72 additions and 2 deletions
+20
View File
@@ -0,0 +1,20 @@
--- a/service/DeviceManager.h
+++ b/service/DeviceManager.h
@@ -7,6 +7,7 @@
#ifndef TELLDUS_CORE_SERVICE_DEVICEMANAGER_H_
#define TELLDUS_CORE_SERVICE_DEVICEMANAGER_H_
+#include <ctime>
#include <set>
#include <string>
#include "service/Device.h"
--- a/service/Sensor.h
+++ b/service/Sensor.h
@@ -7,6 +7,7 @@
#ifndef TELLDUS_CORE_SERVICE_SENSOR_H_
#define TELLDUS_CORE_SERVICE_SENSOR_H_
+#include <ctime>
#include <string>
#include "common/Mutex.h"