I’m trying to use bindgen to generate bindings to a C - library. When I run bindgen it includes a bunch of stuff from libc, like
FILE, etc. Then these definitions conflict with the ones in
libc, which I’d also like to use since it has much nicer types.
Is there a way to get bindgen to use libc, or at least filter the stuff in libc out of the bindgen output?