David Hawes wrote:
Rick Stevens wrote:
"struct ucred" is defined in<asm/socket.h> and the compile doesn't seem to be picking that up. Never had this issue with 2.4.10 or 2.4.11.
Add -D_GNU_SOURCE to your CPPFLAGS:
Don't add it indiscriminately. Just define it in the getpeereid.c file; playing with _GNU preprocessor symbols has been known to break a lot of builds in the past, which is why we don't define it by default.