diff options
author | Ed Tanous <ed@tanous.net> | 2024-04-16 21:10:17 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2024-04-19 21:53:34 +0300 |
commit | 5b90429a75c58797ec29ac9a8ed18c2dcd7d4950 (patch) | |
tree | cd7bbbe751cb9eef3bdf51abf372d1790aadce24 /include | |
parent | 211cfa49d10cb251b6504bacb13d8e87b4d9c1e4 (diff) | |
download | bmcweb-5b90429a75c58797ec29ac9a8ed18c2dcd7d4950.tar.xz |
Add missing headers
Most of these were found by breaking every redfish class handler into
its own compile unit:
When that's done, these missing headers become compile errors. We
should just fix them.
In addition, this allows us to enable automatic header checking in
clang-tidy using misc-header-cleaner. Because the compiler can now
"see" all the defines, it no longer tries to remove headers that it
thinks are unused.
[1] https://github.com/openbmc/bmcweb/commit/4fdee9e39e9f03122ee16a6fb251a380681f56ac
Tested: Code compiles.
Change-Id: Ifa27ac4a512362b7ded7cc3068648dc4aea6ad7b
Signed-off-by: Ed Tanous <ed@tanous.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/nbd_proxy.hpp | 1 | ||||
-rw-r--r-- | include/openbmc_dbus_rest.hpp | 1 | ||||
-rw-r--r-- | include/pam_authenticate.hpp | 3 |
3 files changed, 1 insertions, 4 deletions
diff --git a/include/nbd_proxy.hpp b/include/nbd_proxy.hpp index 9607ddfb10..adc51a85ef 100644 --- a/include/nbd_proxy.hpp +++ b/include/nbd_proxy.hpp @@ -20,7 +20,6 @@ #include "websocket.hpp" #include <boost/asio/local/stream_protocol.hpp> -#include <boost/asio/write.hpp> #include <boost/beast/core/buffers_to_string.hpp> #include <boost/container/flat_map.hpp> diff --git a/include/openbmc_dbus_rest.hpp b/include/openbmc_dbus_rest.hpp index e1d66f56e9..17b5931199 100644 --- a/include/openbmc_dbus_rest.hpp +++ b/include/openbmc_dbus_rest.hpp @@ -32,7 +32,6 @@ #include <boost/beast/http/verb.hpp> #include <boost/container/flat_map.hpp> #include <boost/container/vector.hpp> -#include <boost/iterator/iterator_facade.hpp> #include <boost/system/error_code.hpp> #include <nlohmann/json.hpp> #include <sdbusplus/asio/connection.hpp> diff --git a/include/pam_authenticate.hpp b/include/pam_authenticate.hpp index c06b7e9681..9854df6150 100644 --- a/include/pam_authenticate.hpp +++ b/include/pam_authenticate.hpp @@ -2,11 +2,10 @@ #include <security/pam_appl.h> -#include <boost/utility/string_view.hpp> - #include <cstring> #include <memory> #include <span> +#include <string_view> // function used to get user input inline int pamFunctionConversation(int numMsg, const struct pam_message** msg, |