From e8cb748d40a220a3c20b1a0fdda44c693dc89234 Mon Sep 17 00:00:00 2001 From: Demogorgon314 Date: Tue, 25 Oct 2022 11:41:00 +0800 Subject: [PATCH] Fix macOS build --- lib/ProducerImpl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ProducerImpl.h b/lib/ProducerImpl.h index 51bf1bb6..cbf99ec7 100644 --- a/lib/ProducerImpl.h +++ b/lib/ProducerImpl.h @@ -23,8 +23,8 @@ #include "Future.h" #include "HandlerBase.h" -// In MSVC, the value type of a STL container cannot be forward declared -#if defined(_MSC_VER) +// In MSVC and macOS, the value type of STL container cannot be forward declared +#if defined(_MSC_VER) || defined(__APPLE__) #include "OpSendMsg.h" #endif #include "PendingFailures.h"