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 68b0f703..96ed06b3 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