Fix FTBFS on non-linux systems.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/3/head
Slávek Banko 3 years ago
parent 3a646d2ffc
commit dd7b2b8f0e
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