diff --git a/example/plugins/cpp-api/websocket/WSBuffer.cc b/example/plugins/cpp-api/websocket/WSBuffer.cc index a53ac6750a0..0bbd05dced0 100644 --- a/example/plugins/cpp-api/websocket/WSBuffer.cc +++ b/example/plugins/cpp-api/websocket/WSBuffer.cc @@ -25,7 +25,7 @@ #include #include "tscore/ink_config.h" -#include "openssl/evp.h" +#include #include #include diff --git a/include/tscore/Result.h b/include/tscore/Result.h index fb99460fe4d..5436e42541f 100644 --- a/include/tscore/Result.h +++ b/include/tscore/Result.h @@ -25,13 +25,14 @@ #include "TextBuffer.h" +#include + // Result is simple error object that carries a success/fail status and // a corresponding error message for the failure case. It is a simplified // form of Rust's Result object in that we don't carry a return value for // the success case. Arguably it ought to just be Error(), but Diags.h // already owns that name. -#include struct Result { Result() {} diff --git a/iocore/dns/P_SplitDNSProcessor.h b/iocore/dns/P_SplitDNSProcessor.h index 6f42a47b443..e91923b2faa 100644 --- a/iocore/dns/P_SplitDNSProcessor.h +++ b/iocore/dns/P_SplitDNSProcessor.h @@ -30,13 +30,6 @@ #pragma once -/* -#include "P_DNS.h" -#include "I_SplitDNS.h" -#include "I_Lock.h" -#include "ControlBase.h" -#include "ControlMatcher.h" -*/ #include "ProxyConfig.h" /* --------------------------- diff --git a/iocore/net/P_SSLSNI.h b/iocore/net/P_SSLSNI.h index 6e83c2f04cc..ff2dcc001b6 100644 --- a/iocore/net/P_SSLSNI.h +++ b/iocore/net/P_SSLSNI.h @@ -30,12 +30,12 @@ ****************************************************************************/ #pragma once +#include +#include + #include "ProxyConfig.h" #include "P_SNIActionPerformer.h" #include "tscore/MatcherUtils.h" -#include "openssl/ossl_typ.h" -#include -#include #include "YamlSNIConfig.h" // Properties for the next hop server diff --git a/iocore/net/quic/QUICAltConnectionManager.cc b/iocore/net/quic/QUICAltConnectionManager.cc index 3e95724905d..f1cb4078af7 100644 --- a/iocore/net/quic/QUICAltConnectionManager.cc +++ b/iocore/net/quic/QUICAltConnectionManager.cc @@ -21,7 +21,8 @@ limitations under the License. */ -#include "algorithm" +#include + #include "tscore/ink_assert.h" #include "tscore/ink_defs.h" #include "QUICAltConnectionManager.h" diff --git a/iocore/net/quic/QUICPacketHeaderProtector_boringssl.cc b/iocore/net/quic/QUICPacketHeaderProtector_boringssl.cc index 63e71bf0105..e27d2068d00 100644 --- a/iocore/net/quic/QUICPacketHeaderProtector_boringssl.cc +++ b/iocore/net/quic/QUICPacketHeaderProtector_boringssl.cc @@ -23,7 +23,7 @@ #include "QUICPacketHeaderProtector.h" -#include "openssl/chacha.h" +#include bool QUICPacketHeaderProtector::_generate_mask(uint8_t *mask, const uint8_t *sample, const uint8_t *key, const EVP_CIPHER *cipher) const diff --git a/iocore/net/quic/QUICTypes.h b/iocore/net/quic/QUICTypes.h index a7fdc9f85ce..c93de190309 100644 --- a/iocore/net/quic/QUICTypes.h +++ b/iocore/net/quic/QUICTypes.h @@ -38,7 +38,7 @@ #include #include "tscore/ink_memory.h" #include "tscore/ink_inet.h" -#include "openssl/evp.h" +#include using QUICPacketNumber = uint64_t; using QUICVersion = uint32_t; diff --git a/proxy/ControlBase.h b/proxy/ControlBase.h index 4c79d544865..715b214f7ef 100644 --- a/proxy/ControlBase.h +++ b/proxy/ControlBase.h @@ -31,8 +31,9 @@ #pragma once +#include + #include "tscore/ink_platform.h" -#include "vector" class HttpRequestData; class Tokenizer; diff --git a/proxy/http/HttpConfig.h b/proxy/http/HttpConfig.h index f4f146b6e15..06e1ccb2393 100644 --- a/proxy/http/HttpConfig.h +++ b/proxy/http/HttpConfig.h @@ -37,17 +37,14 @@ #include #include #include - -#ifdef HAVE_CTYPE_H #include -#endif +#include #include "tscore/ink_platform.h" #include "tscore/ink_inet.h" #include "tscore/ink_resolver.h" #include "tscore/IpMap.h" #include "tscore/Regex.h" -#include "string_view" #include "tscore/BufferWriter.h" #include "HttpProxyAPIEnums.h" #include "ProxyConfig.h"