From ae69f67eb3239289d3cda8dc6f361478cf0d259a Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Fri, 20 Mar 2020 12:58:05 +0100 Subject: [PATCH] On OpenBSD string_view is both in boost and std --- pdns/dnsdistdist/views.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdistdist/views.hh b/pdns/dnsdistdist/views.hh index afd72f6c2e..d2b1dcb9e3 100644 --- a/pdns/dnsdistdist/views.hh +++ b/pdns/dnsdistdist/views.hh @@ -23,7 +23,7 @@ #pragma once // apple compiler somehow has string_view even in c++11! -#if __cplusplus < 201703L && !defined(__APPLE__) +#if __cplusplus < 201703L && !defined(__APPLE__) && !defined(__OpenBSD__) #include #if BOOST_VERSION >= 106100 #include -- 2.47.2