summaryrefslogtreecommitdiff
path: root/package/v4l-utils/patches/patch-utils_rds_rds-saa6588_c
blob: ddd7790806fe3942c0e26417388b411aa685aeef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- v4l-utils-0.9.3.orig/utils/rds/rds-saa6588.c	2012-05-10 20:10:34.000000000 +0200
+++ v4l-utils-0.9.3/utils/rds/rds-saa6588.c	2013-07-12 17:53:04.000000000 +0200
@@ -12,8 +12,12 @@
 #include <errno.h>
 #include <sys/ioctl.h>
 #include <linux/types.h>
+#ifdef LINUX_I2C_DEV_H
+#include <linux/i2c-dev.h>
+#else
 #include <linux/i2c.h>
 #include <linux/i2c-dev.h>
+#endif
 
 int debug;