From c242dd402c9b5a399a0dd4e530a4235c218be8fd Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 22 May 2021 06:18:40 -0700 Subject: [PATCH] Move cerrno include to where it is used --- include/fmt/format-inl.h | 1 + include/fmt/format.h | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h index 93b7a907..4be6c1c3 100644 --- a/include/fmt/format-inl.h +++ b/include/fmt/format-inl.h @@ -10,6 +10,7 @@ #include #include +#include // errno #include #include #include diff --git a/include/fmt/format.h b/include/fmt/format.h index e67c22aa..47231f11 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -33,9 +33,8 @@ #ifndef FMT_FORMAT_H_ #define FMT_FORMAT_H_ -#include // errno -#include // std::signbit -#include +#include // std::signbit +#include // uint32_t #include // std::numeric_limits #include // std::uninitialized_copy #include // std::runtime_error