From d883ff8272332592204e5f66704f6c384a14da1c Mon Sep 17 00:00:00 2001 From: Pavel Artsishevsky Date: Thu, 7 Nov 2024 14:54:42 +0100 Subject: [PATCH] Include correct fmt headers in buffer.h Signed-off-by: Pavel Artsishevsky --- include/util/buffer.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/util/buffer.h b/include/util/buffer.h index 2f21703..a30ea70 100644 --- a/include/util/buffer.h +++ b/include/util/buffer.h @@ -12,8 +12,12 @@ #include #ifdef ENABLE_FMTLIB +#if __has_include() #include #else +#include +#endif +#else #include "util/types.h" #include