loader: include bpf_workaround.h header
authorDave Marchevsky <davemarchevsky@fb.com>
Wed, 5 May 2021 04:31:42 +0000 (21:31 -0700)
committeryonghong-song <ys114321@gmail.com>
Wed, 5 May 2021 05:20:20 +0000 (22:20 -0700)
commite5217d9250164f7a0fa2828dcb72a29eb5cf97d8
tree767207ede2b9c8102a44f58b2d01b91dacdd6f60
parent1cb0df5b30b902ad01fa15365e864d7590a9ffff
loader: include bpf_workaround.h header

The intent of #3391 was to have `bpf_workaround.h` included after
`bpf.h` when compiling bcc headers. However, that PR only added the file
to the `headers_` map of files that can be included. To actually
include, need to adjust compiler input flags as well.

Fixes: d089013e ("Move HAVE_BUILTIN_BSWAP includes to separate header")
src/cc/frontends/clang/loader.cc