The UAPI files seem to include the kernel headers.
For example: the include/uapi/linux/eventpoll.h file includes <linux/fcntl.h>.
The include stack would then look like this for a kernel compile:
This seems unnecessary and would make it possible to depend on declarations that are implicitly defined through the kernel versions of the header.
Unless I'm mistaken. Which is a very likely possibility.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds