From 8a9a25c821f40b9cd2d94a483581c435e4e4a27e Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Tue, 11 May 2021 14:50:58 -0700 Subject: Include what you use in http request and response https://jenkins.openbmc.org/job/ci-openbmc/3949/distro=ubuntu,label=docker-builder,target=tiogapass/consoleText This build seems to be failing with an error | ../git/http/http_response.hpp:23:10: error: 'optional' in namespace 'std' does not name a template type | 23 | std::optional stringResponse; This should fix it by including the relevant headers. Tested: Code builds. CI error only. Signed-off-by: Ed Tanous Change-Id: Ifba15559a73d823d791de1d508e136a3c44e6cd1 --- http/http_response.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'http/http_response.hpp') diff --git a/http/http_response.hpp b/http/http_response.hpp index 79657044bf..72ff9e9c05 100644 --- a/http/http_response.hpp +++ b/http/http_response.hpp @@ -5,7 +5,9 @@ #include #include +#include #include +#include namespace crow { -- cgit v1.2.3