From 6a757bb7a091d64b145d4e1a9b6c50f6b3ed51ea Mon Sep 17 00:00:00 2001 From: Robert Swiecki Date: Mon, 6 Jun 2022 18:11:28 +0200 Subject: [PATCH 3/3] linux/bfd: cover #include with __has_include, because it appeared in 2018 only --- linux/bfd.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/linux/bfd.c b/linux/bfd.c index e9d9c2b..adae590 100644 --- a/linux/bfd.c +++ b/linux/bfd.c @@ -26,7 +26,11 @@ #include "linux/bfd.h" #include +#if defined __has_include +#if __has_include() #include +#endif /* __has_include() */ +#endif /* defined __has_include */ #include #include #include -- 2.37.2