summaryrefslogtreecommitdiff
path: root/v4l/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'v4l/compat.h')
-rw-r--r--v4l/compat.h5
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: