From 6cafbdfbd1ef9c603447132486114148de851f21 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 (cherry picked from commit a3087b1818e7310757304574da1e021e9578438b) --- 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 2e5f009..7261f71 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