From 9f7c5f2da98c4463215417c8217926030428fa03 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Wed, 4 Oct 2006 10:49:49 -0300 Subject: Add compat for true/false From: Mauro Carvalho Chehab true/false were incorporated at a common code on pre-kernel 2.6.19. Signed-off-by: Mauro Carvalho Chehab --- v4l/compat.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/v4l/compat.h b/v4l/compat.h index 3192ef87d..b245c95e2 100644 --- a/v4l/compat.h +++ b/v4l/compat.h @@ -315,6 +315,11 @@ usb_to_input_id(const struct usb_device *dev, struct input_id *id) #define PCIAGP_FAIL 0 #endif +#ifndef true +#define true 1 +#define false 0 +#endif + #endif /* * Local variables: -- cgit v1.2.3