I have an annoying problem with the siginfo.h library. I need a version of this library that contains a siginfo_t structure with a field for processing SIGSYS signals.
For isntance, the version of the structure I need can be found here: http://code.woboq.org/userspace/glibc/sysdeps/unix/sysv/linux/x86/bits/siginfo.h.html
The version that is automatically included using #include is the version in /usr/include/bits/siginfo.h that skips this field. However, there is another version of the same library in asm-generic that provides the fields I need. The kernel contains two files named siginfo.h, but they do not contain the siginfo_t structure. I thought this problem could be solved by updating glibc, but the latest version of glibc (2.17) again has a completely different version, and not what I need.
Now I'm a little confused, how are the standard library headers actually set? Should I activate compilation options to create this structure?
source share