From c42cca6c225d47def454c41542accd36ded454da Mon Sep 17 00:00:00 2001 From: Hielke Kramer Date: Tue, 14 Jan 2020 11:36:35 +0100 Subject: [PATCH] Fixed build on more recent distros by including headers --- i2c_bus.cpp | 1 + i2c_bus.h | 1 + 2 files changed, 2 insertions(+) diff --git a/i2c_bus.cpp b/i2c_bus.cpp index 358c26a..036f1f7 100644 --- a/i2c_bus.cpp +++ b/i2c_bus.cpp @@ -6,6 +6,7 @@ #include #include #include +#include static inline std::system_error posix_error(const std::string & what) { diff --git a/i2c_bus.h b/i2c_bus.h index 872a923..8c3c162 100644 --- a/i2c_bus.h +++ b/i2c_bus.h @@ -2,6 +2,7 @@ #include #include +#include class i2c_bus {