packages/utils/telldus-core/patches/960-time.patch
Rosen Penev e7094f3ef7
telldus-core: fix compilation with libcxx 10
Missing headers and wrong namespace.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-02 16:03:32 -07:00

20 lines
464 B
Diff

--- 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"