From dd7b2b8f0ea5482023a338bf9e1233cefa7b3f22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 4 Jul 2021 17:32:14 +0200 Subject: Fix FTBFS on non-linux systems. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/barcode/barcode_v4l.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/barcode/barcode_v4l.h') diff --git a/src/barcode/barcode_v4l.h b/src/barcode/barcode_v4l.h index c6f60b2..82dd0b5 100644 --- a/src/barcode/barcode_v4l.h +++ b/src/barcode/barcode_v4l.h @@ -24,7 +24,9 @@ #undef __STRICT_ANSI__ #define FOO__STRICT_ANSI__ #endif -#include +#if defined(__linux__) +# include +#endif #ifdef FOO__STRICT_ANSI__ #define __STRICT_ANSI__ 1 #undef FOO__STRICT_ANSI__ -- cgit v1.2.1