diff options
Diffstat (limited to 'src/barcode/barcode_v4l.h')
-rw-r--r-- | src/barcode/barcode_v4l.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 <asm/types.h> +#if defined(__linux__) +# include <asm/types.h> +#endif #ifdef FOO__STRICT_ANSI__ #define __STRICT_ANSI__ 1 #undef FOO__STRICT_ANSI__ |