diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-10-04 10:49:49 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-10-04 10:49:49 -0300 |
commit | 9f7c5f2da98c4463215417c8217926030428fa03 (patch) | |
tree | f37cf9cb061c4e8522f056e3c08f97bf6d3e7378 /v4l/compat.h | |
parent | f5b559da3979e3fba268f45c0dc99ffc4a0c1a9e (diff) | |
download | mediapointer-dvb-s2-9f7c5f2da98c4463215417c8217926030428fa03.tar.gz mediapointer-dvb-s2-9f7c5f2da98c4463215417c8217926030428fa03.tar.bz2 |
Add compat for true/false
From: Mauro Carvalho Chehab <mchehab@infradead.org>
true/false were incorporated at a common code on pre-kernel 2.6.19.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l/compat.h')
-rw-r--r-- | v4l/compat.h | 5 |
1 files changed, 5 insertions, 0 deletions
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: |