From d13e3a7c3c799c9493670fd791edf53963e00bd8 Mon Sep 17 00:00:00 2001 From: Bryan Call Date: Thu, 7 Dec 2023 07:10:14 -0800 Subject: [PATCH] Fix for building on Rocky Linux 8 (#10901) __has_include isn't working switchiing to check if __linux__ is defined --- src/iocore/cache/Store.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iocore/cache/Store.cc b/src/iocore/cache/Store.cc index 988243ec928..62033e98654 100644 --- a/src/iocore/cache/Store.cc +++ b/src/iocore/cache/Store.cc @@ -30,7 +30,7 @@ #include "tscore/SimpleTokenizer.h" #include "tscore/runroot.h" -#if __has_include() +#if defined(__linux__) #include #endif