diff options
Diffstat (limited to 'v4l')
-rw-r--r-- | v4l/compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/v4l/compat.h b/v4l/compat.h index 78d6c1d75..01847a319 100644 --- a/v4l/compat.h +++ b/v4l/compat.h @@ -552,4 +552,8 @@ static inline struct proc_dir_entry *proc_create(const char *a, #endif #endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 26) +#define div64_u64(a,b) div64_64(a,b) +#endif + #endif |