From: Alexei Starovoitov <alexei.starovoi...@gmail.com> Date: Fri, 21 Apr 2017 12:26:21 -0700
> It should pick up local headers without touching /usr/include. > In the past I used to do 'make headers_install' before doing a build > in samples/bpf or selftests, but then suddenly it started working > without that step, so I figured something got fixed in the build system. > May be it's arch specific somehow. Yes, that's what the issue seemed to be. I ran something unrelated and that triggered a headers_install, and after that everything built fine. I have some minor patches coming, to define arch specific accessors for bpf_helpers.h and such.