Fix FTBFS on non-linux systems.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit dd7b2b8f0e)
r14.0.x
Slávek Banko 3 years ago
parent b617c1db5d
commit f7618c625c
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -24,7 +24,6 @@
//#include <sys/time.h>
//#include <sys/mman.h>
#include <sys/ioctl.h>
//#include <asm/types.h> /* for videodev2.h */
#include "barcode_v4l.h"
#include "../tellico_debug.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__

Loading…
Cancel
Save