Fixed build issue by including condition_variable header
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Mon, 7 Mar 2016 11:19:05 +0000 (12:19 +0100)
committerUze Choi <uzchoi@samsung.com>
Fri, 1 Apr 2016 00:43:32 +0000 (00:43 +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: I03b03af4693738c6a852b0d03b6d6a2744a87109
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/5493
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Mats Wichmann <mats@osg.samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/scene-manager/sampleapp/linux/sceneserver.cpp

index 76328d1..8194d06 100755 (executable)
@@ -18,6 +18,7 @@
 //
 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
+#include <condition_variable>
 #include <iostream>
 #include <vector>
 #include <condition_variable>