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)
committerJungHo Kim <jhyo.kim@samsung.com>
Mon, 14 Mar 2016 03:52:24 +0000 (03:52 +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/5579
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Mats Wichmann <mats@osg.samsung.com>
Reviewed-by: Sanjeev BA <as2902.b@samsung.com>
Reviewed-by: JungHo Kim <jhyo.kim@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"