summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2023-01-14 04:40:03 +0300
committerEd Tanous <ed@tanous.net>2023-02-13 20:28:21 +0300
commita8e884fc4e2fae0c79454ee865c9b9e0534f6763 (patch)
treecdf9d867f9c4e42cc0a2bca9917a8c9788854341 /test
parentb1d736fc6ba711ddbb71ebdbde0ebde7c7c9a893 (diff)
downloadbmcweb-a8e884fc4e2fae0c79454ee865c9b9e0534f6763.tar.xz
Fix a couple #includes
In the continual quest to get tidy passing when run in isolation, fix some more includes. This includes removing a circular #include to app.hpp. We don't use app.hpp in these files, which is why our code compiles but having this include it here causes a few circular dependencies app.hpp -> http_server.hpp -> persistent_data.hpp -> app.hpp. app.hpp -> http_server.hpp -> authentication.hpp -> app.hpp. This confuses clang when run on header files directly. Fix a couple more includes at the same time. Tested: Code compiles Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: Ib62d78b49c7e38ef7061c9fbbf6b3d463f11917d
Diffstat (limited to 'test')
-rw-r--r--test/redfish-core/include/redfish_aggregator_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/redfish-core/include/redfish_aggregator_test.cpp b/test/redfish-core/include/redfish_aggregator_test.cpp
index 345854fdde..4653a81527 100644
--- a/test/redfish-core/include/redfish_aggregator_test.cpp
+++ b/test/redfish-core/include/redfish_aggregator_test.cpp
@@ -1,3 +1,4 @@
+#include "async_resp.hpp"
#include "redfish_aggregator.hpp"
#include <nlohmann/json.hpp>