From 11b48c15923c4fa77a9ad5607c489d0cb82075c2 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Tue, 3 Jul 2018 12:37:00 +0200 Subject: [PATCH] fix build --- debian/control | 2 +- pianohat/touchsensor.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index b58e7ced..c84489c9 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,7 @@ Build-depends: debhelper (>= 0.0.0), python:any, qtbase5-dev, qtconnectivity5-dev, - libi2c-dev:native, + libi2c-dev, Standards-Version: 3.9.3 diff --git a/pianohat/touchsensor.cpp b/pianohat/touchsensor.cpp index 53b0c6d7..5ed334e4 100644 --- a/pianohat/touchsensor.cpp +++ b/pianohat/touchsensor.cpp @@ -25,7 +25,9 @@ #include #include +extern "C" { #include "linux/i2c-dev.h" +} #include #include #include