In newer versions we have to avoid the inclusion of linux/audit.h.
Created attachment 793 [details] Define _LINUX_AUDIT_H_ to avoid the inclusion
Could you explain that one a bit more? Why can't you include that header file? Volker
a) We should never include kernel headers in userspace. b) This include triggered other includes from kernel headers, and this other five and so on just to define the needed stricts and types. c) You risk collissions with the headers of the libc. So my colleagues from the build team disabled the inclusion of linux/audit.h as you see in the patch. The compiler stopped with errors.
But the compiler doesn't complain anymore. Not for 9.2 nor for the current development tree. This fix is superfluous and the report is invalid.