From 3e47f2ba9853f46b18d97b7c00950bd33a947d70 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Kundr=C3=A1t?= Date: Wed, 3 Feb 2021 13:28:57 +0100 Subject: [PATCH] bindings: cxx: fix building with clang's libc++ MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This fixes the following error with clang 11 with libc++: line.cpp:248:39: error: implicit instantiation of undefined template 'std::__1::array' ::std::array<::gpiod_line_event, 16> event_buf; ^ /nix/store/vk8ynr4hj2a8w7g1b9m8wknzj39iiv4x-libc++-11.0.1/include/c++/v1/__tuple:219:64: note: template is declared here template struct _LIBCPP_TEMPLATE_VIS array; Signed-off-by: Jan Kundrát Signed-off-by: Bartosz Golaszewski --- bindings/cxx/line.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/cxx/line.cpp b/bindings/cxx/line.cpp index bf4a3eb..9b66d1a 100644 --- a/bindings/cxx/line.cpp +++ b/bindings/cxx/line.cpp @@ -6,6 +6,7 @@ */ #include +#include #include #include -- 2.30.2