When compiling IoTivity with WITH_CLOUD=true 85/235985/1
authorKush <kush.agrawal@samsung.com>
Tue, 14 Apr 2020 04:43:37 +0000 (10:13 +0530)
committerSudipto <sudipto.bal@samsung.com>
Thu, 11 Jun 2020 18:10:04 +0000 (23:40 +0530)
commit4daede4224456b0c73e38d62cf923c6ea6d973cd
tree1a5a6ff7554e25cbb6439dbaef62d5332b2fbef6
parent54d8409225e82b436188bfc9bbeb790a42ba5035
When compiling IoTivity with WITH_CLOUD=true

Aircon_controlee example fails to compile:
In file included from cloud/samples/client/airconditioner/aircon_controlee.cpp:12:0:
resource/csdk/resource-directory/include/RDClient.h:49:21: error: 'recursive_mutex' is not a member of 'std'
     std::shared_ptr<std::recursive_mutex> _csdkLock;

Including the mutex header fixes the issue.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/679
(cherry-picked from 942b81212d584d4471afb6af80aa54d170da80cf)

Change-Id: Ib03099dfdf8dee60439e4fffab579f45bd5978d2
Signed-off-by: Kush <kush.agrawal@samsung.com>
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
resource/csdk/resource-directory/include/RDClient.h