diff options
author | Bartosz Golaszewski <bartekgola@gmail.com> | 2017-08-29 12:31:22 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-29 12:31:22 +0200 |
commit | 0d1eaf407c3d077f1d6ec97ceffbafbe7591ecbf (patch) | |
tree | 478de6838a667a5acbd234f5486074d1c3a10408 /shell/hush_test/hush-redir/redir6.right | |
parent | 3a7b0fb7b6c6a9b0563b862e5ecd3200876ab1e4 (diff) | |
download | busybox-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/hush_test/hush-redir/redir6.right')
0 files changed, 0 insertions, 0 deletions