From a3087b1818e7310757304574da1e021e9578438b Mon Sep 17 00:00:00 2001 From: Robert Morell Date: Wed, 9 Dec 2020 18:08:40 -0800 Subject: [PATCH] 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 --- external/openglcts/modules/runner/glcTestRunnerMain.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- 2.7.4