From: Robert Morell Date: Thu, 10 Dec 2020 02:08:40 +0000 (-0800) Subject: oglcts-runner: Include cstdlib in glcTestRunnerMain X-Git-Tag: upstream/1.3.5~1094^2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a3087b1818e7310757304574da1e021e9578438b;p=platform%2Fupstream%2FVK-GL-CTS.git oglcts-runner: Include cstdlib in glcTestRunnerMain To pick up the definitions of EXIT_SUCCESS/EXIT_FAILURE. Fixes these errors building on FreeBSD 10.4 with llvm60: /root/nvt/tests/buildvulkancts/vk-gl-cts/external/openglcts/modules/runner/glcTestRunnerMain.cpp:115:19: error: use of undeclared identifier 'EXIT_SUCCESS' int exitStatus = EXIT_SUCCESS; ^ /root/nvt/tests/buildvulkancts/vk-gl-cts/external/openglcts/modules/runner/glcTestRunnerMain.cpp:136:19: error: use of undeclared identifier 'EXIT_FAILURE' exitStatus = EXIT_FAILURE; ^ Components: OpenGL VK-GL-CTS issue: 2696 Change-Id: I918f3de12dde8871df8905f5870c3d6c73ae8048 --- diff --git a/external/openglcts/modules/runner/glcTestRunnerMain.cpp b/external/openglcts/modules/runner/glcTestRunnerMain.cpp index 8a75b23..8bc8c0d 100644 --- a/external/openglcts/modules/runner/glcTestRunnerMain.cpp +++ b/external/openglcts/modules/runner/glcTestRunnerMain.cpp @@ -29,6 +29,7 @@ #include "tcuResource.hpp" #include +#include // See tcuMain.cpp tcu::Platform* createPlatform(void);