From 8240f2067c38f1082accc8aa1ba9137163fabc7b Mon Sep 17 00:00:00 2001 From: taohe Date: Fri, 17 Nov 2017 16:35:12 +0800 Subject: [PATCH] fix build on g++ 7.2 --- phxqueue/comm/logger.h | 5 +++-- phxqueue/producer/producer.h | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/phxqueue/comm/logger.h b/phxqueue/comm/logger.h index a832ec5..0399d17 100644 --- a/phxqueue/comm/logger.h +++ b/phxqueue/comm/logger.h @@ -12,9 +12,10 @@ Unless required by applicable law or agreed to in writing, software distributed #pragma once -#include -#include #include +#include +#include +#include #include #include "phxqueue/comm/errdef.h" diff --git a/phxqueue/producer/producer.h b/phxqueue/producer/producer.h index b230daa..52c571a 100644 --- a/phxqueue/producer/producer.h +++ b/phxqueue/producer/producer.h @@ -12,6 +12,7 @@ Unless required by applicable law or agreed to in writing, software distributed #pragma once +#include #include #include #include