From 9ae6639b10e68ada47329a54f1227ba877f87840 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Thu, 5 Jul 2018 12:21:29 +0200 Subject: [PATCH] Fix i2c-dev cross compile issue --- debian/control | 2 +- pianohat/touchsensor.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index c84489c9..8bea1b45 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, + libi2c-dev:all, Standards-Version: 3.9.3 diff --git a/pianohat/touchsensor.cpp b/pianohat/touchsensor.cpp index 96ed06b3..763a206f 100644 --- a/pianohat/touchsensor.cpp +++ b/pianohat/touchsensor.cpp @@ -26,7 +26,7 @@ #include #include extern "C" { -#include "linux/i2c-dev.h" +#include "/usr/include/linux/i2c-dev.h" } #include #include