From 798ebda049181ac53a5e6d56464a3ee7b6c50aaa Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 20 Jul 2018 15:31:25 -0400 Subject: [PATCH] logging/backend: Add missing standard includes A few inclusions were being satisfied indirectly. To prevent breakages in the future, include these directly. --- src/common/logging/backend.cpp | 5 +++-- src/common/logging/backend.h | 2 -- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp index de0ce23b38..05ea990f15 100644 --- a/src/common/logging/backend.cpp +++ b/src/common/logging/backend.cpp @@ -3,18 +3,19 @@ // Refer to the license.txt file included. #include -#include +#include #include #include #include +#include #include +#include #ifdef _WIN32 #include // For _SH_DENYWR #else #define _SH_DENYWR 0 #endif #include "common/assert.h" -#include "common/common_funcs.h" // snprintf compatibility define #include "common/logging/backend.h" #include "common/logging/log.h" #include "common/logging/text_formatter.h" diff --git a/src/common/logging/backend.h b/src/common/logging/backend.h index 5958105613..c540ec6e37 100644 --- a/src/common/logging/backend.h +++ b/src/common/logging/backend.h @@ -5,11 +5,9 @@ #pragma once #include -#include #include #include #include -#include #include "common/file_util.h" #include "common/logging/filter.h" #include "common/logging/log.h"