commit | 1c2dd16add7ebd7fc6a47f21a42f502cfed5ec2f | [log] [tgz] |
---|---|---|
author | Alexei Starovoitov <ast@fb.com> | Tue May 02 21:14:43 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed May 03 09:51:25 2017 -0400 |
tree | a9efec88cd7ddbf718c46c8a279d8f72101b0eca | |
parent | 6ead18fb18c8182a81d70f24942f9547e56a35d2 [diff] |
selftests/bpf: get rid of -D__x86_64__ -D__x86_64__ workaround was used to make /usr/include/features.h to follow expected path through the system include headers. This is not portable. Instead define dummy stubs.h which is used by 'clang -target bpf' Fixes: 6882804c916b ("selftests/bpf: add a test for overlapping packet range checks") Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>