From fa08080f0637f77f7b16924336319f8940617678 Mon Sep 17 00:00:00 2001 From: Mariusz Zaborski Date: Wed, 2 Feb 2022 16:41:30 -0500 Subject: [PATCH 1/2] ZStandard: Use flags from absl --- contrib/zstd/sandboxed.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/zstd/sandboxed.h b/contrib/zstd/sandboxed.h index b9640d6..c8ca07a 100644 --- a/contrib/zstd/sandboxed.h +++ b/contrib/zstd/sandboxed.h @@ -21,7 +21,7 @@ #include #include "sapi_zstd.sapi.h" // NOLINT(build/include) -#include "sandboxed_api/util/flag.h" +#include "absl/flags/flag.h" #include "absl/flags/parse.h" class ZstdSapiSandbox : public ZstdSandbox { From 7af8f58e4802469e5c59d4d23fce5f330aac4933 Mon Sep 17 00:00:00 2001 From: Mariusz Zaborski Date: Thu, 3 Feb 2022 09:25:45 -0500 Subject: [PATCH 2/2] ZStandard: Move includes to the file they are actually used in --- contrib/zstd/example/main.cc | 2 ++ contrib/zstd/sandboxed.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/zstd/example/main.cc b/contrib/zstd/example/main.cc index e9c24db..9c3ed79 100644 --- a/contrib/zstd/example/main.cc +++ b/contrib/zstd/example/main.cc @@ -20,6 +20,8 @@ #include #include +#include "absl/flags/flag.h" +#include "absl/flags/parse.h" #include "contrib/zstd/sandboxed.h" #include "contrib/zstd/utils/utils_zstd.h" diff --git a/contrib/zstd/sandboxed.h b/contrib/zstd/sandboxed.h index c8ca07a..31b0b81 100644 --- a/contrib/zstd/sandboxed.h +++ b/contrib/zstd/sandboxed.h @@ -21,8 +21,6 @@ #include #include "sapi_zstd.sapi.h" // NOLINT(build/include) -#include "absl/flags/flag.h" -#include "absl/flags/parse.h" class ZstdSapiSandbox : public ZstdSandbox { public: