From: Otto Moerbeek Date: Mon, 23 Mar 2020 07:12:33 +0000 (+0100) Subject: Proper include guard for OpenBSD and FreeBSD: std::string_ref is available there. X-Git-Tag: dnsdist-1.5.0-rc1~30^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8955%2Fhead;p=thirdparty%2Fpdns.git Proper include guard for OpenBSD and FreeBSD: std::string_ref is available there. --- diff --git a/ext/lmdb-safe/lmdb-safe.hh b/ext/lmdb-safe/lmdb-safe.hh index e5fe14a1de..056a6cd823 100644 --- a/ext/lmdb-safe/lmdb-safe.hh +++ b/ext/lmdb-safe/lmdb-safe.hh @@ -13,7 +13,7 @@ #include // apple compiler somehow has string_view even in c++11! -#if __cplusplus < 201703L && !defined(__APPLE__) +#if __cplusplus < 201703L && !defined(__APPLE__) && !defined(__OpenBSD__) && !defined(__FreeBSD__) #include #if BOOST_VERSION >= 106100 #include