Fixed build issue by including condition_variable header
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Mon, 7 Mar 2016 11:05:12 +0000 (12:05 +0100)
committerHabib Virji <habib.virji@samsung.com>
Wed, 9 Mar 2016 16:06:11 +0000 (16:06 +0000)
Problem was observed while building on Tizen:2.4:Mobile (g++ 4.9.2):

    error: 'condition_variable' in namespace 'std' does not name a type
    std::condition_variable cond;

Change-Id: Ieaff9bb24e0dd44e6660c7e2ac2d5d718e4270e2
Origin: https://github.com/TizenTeam/iotivity/tree/sandbox/pcoval/for-upstream
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5495
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Mats Wichmann <mats@osg.samsung.com>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
service/scene-manager/unittests/SceneActionTest.cpp

index 9e78053..33dcc8e 100755 (executable)
@@ -18,6 +18,7 @@
 //
 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
+#include <condition_variable>
 #include "UnitTestHelper.h"
 
 #include "SceneList.h"