From c713f1fd76bc4f2405508a432004ce62adcf920c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tiago=20St=C3=BCrmer=20Daitx?= Date: Thu, 1 Sep 2016 20:51:23 -0300 Subject: [PATCH] repsnapper FTBFS due to mismathing headers in linux-libc-dev The headers in linux-libc-dev are different in powerpc/ppc64el compared to other archs, they seems to be missing include clauses to the header under the asm-generic/ directory. This patch works around that by explicitly including both headers under asm-generic. Note that the include of arm/termbits.h had to be removed because it causes yet another conflict, this time due to the redefinition of types termios and ktermios, which also only affects powepc/ppc64el. --- src/printer/custom_baud.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/printer/custom_baud.cpp b/src/printer/custom_baud.cpp index db09de54..13eaeaf3 100644 --- a/src/printer/custom_baud.cpp +++ b/src/printer/custom_baud.cpp @@ -6,7 +6,8 @@ #include #include #include -#include +#include +#include #endif bool set_custom_baudrate( int device_fd, int baudrate ) {