[libc-commits] [libc] [libc] Include linux headers to get ioctl macros (PR #204555)

Pavel Labath via libc-commits libc-commits at lists.llvm.org
Thu Jun 18 04:05:44 PDT 2026


labath wrote:

I'm not really sure what to do about the macro list in libc/include/sys/ioctl.yaml. We're now defining a lot more macros than we list there. I don't think we want to list all of them there, but OTOH removing all of them would stop this file from being included. I'd be happy to add some first-class header forwarding mechanism to hdrgen, if you think that's the way to go.

https://github.com/llvm/llvm-project/pull/204555


More information about the libc-commits mailing list