diff options
author | Ed Tanous <edtanous@google.com> | 2021-06-17 23:33:47 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2021-06-22 22:45:25 +0300 |
commit | 2205bbf681bfac508a9e985b9581ce9d662db4df (patch) | |
tree | 1ca16b7b917dd10280e29686071b2e7b623d327f /include/security_headers.hpp | |
parent | 54d1355fdcaea8a9b83c8fd5d7aac9b244a6146b (diff) | |
download | bmcweb-2205bbf681bfac508a9e985b9581ce9d662db4df.tar.xz |
Fix include what you use in bmcweb_config.h
As part of rearranging include files, it was found that a couple files
don't include what they use. bmcweb_config.h.in uses size_t, which
isn't in cstdint, and a couple files use variables out of
bmcweb_config.h, which it didn't include.
Tested:
Code compiles; No functional changes.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I6d8f3617d10a30a1f0209e492841e9d3adc9c3f3
Diffstat (limited to 'include/security_headers.hpp')
-rw-r--r-- | include/security_headers.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/security_headers.hpp b/include/security_headers.hpp index 6cf26898f6..966fbdf59c 100644 --- a/include/security_headers.hpp +++ b/include/security_headers.hpp @@ -1,5 +1,7 @@ #pragma once +#include <bmcweb_config.h> + #include <http_response.hpp> inline void addSecurityHeaders(const crow::Request& req [[maybe_unused]], |