aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartekgola@gmail.com>2017-08-29 12:31:22 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-08-29 12:31:22 +0200
commit0d1eaf407c3d077f1d6ec97ceffbafbe7591ecbf (patch)
tree478de6838a667a5acbd234f5486074d1c3a10408 /shell
parent3a7b0fb7b6c6a9b0563b862e5ecd3200876ab1e4 (diff)
downloadbusybox-0d1eaf407c3d077f1d6ec97ceffbafbe7591ecbf.tar.gz
i2c-tools: don't include linux/i2c-dev.h
Installing headers from upstream i2c-tools makes it impossible to build the busybox version due to redefined symbols. This is caused by the fact that linux/i2c-dev.h from i2c-tools overwrites the one from linux uapi and defines symbols already defined by linux' linux/i2c.h. Drop this include and simply re-implement the relevant defines from linux/i2c-dev.h in miscutils/i2c-tools.c. Tested by building on systems with and without i2c-tools headers. Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions