From 50a49f16f422867acbf800a6e8c6b2202047cead Mon Sep 17 00:00:00 2001 From: Matthias Schneider Date: Thu, 24 Oct 2024 10:02:27 +0200 Subject: [PATCH] Compile fix (#3) * Add missing include * Use correct check for __has_include() --- inc/goldfish/array_ref.h | 2 +- inc/goldfish/sax_reader.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/goldfish/array_ref.h b/inc/goldfish/array_ref.h index 01c6098..e661dd3 100644 --- a/inc/goldfish/array_ref.h +++ b/inc/goldfish/array_ref.h @@ -7,7 +7,7 @@ #include #include -#ifdef __has_include() +#if __has_include() #include #else #include diff --git a/inc/goldfish/sax_reader.h b/inc/goldfish/sax_reader.h index 34e740d..30ce2d2 100644 --- a/inc/goldfish/sax_reader.h +++ b/inc/goldfish/sax_reader.h @@ -5,6 +5,7 @@ #include #include "base64_stream.h" #include "buffered_stream.h" +#include #include #include