Please, could you test (on io.debian.org and asdfasdf.debian.net) whether adding above mentioned defines directly in getpeercred.c really works?I have added the above defined in the top my getpeercred.c and have written a simple test and it seems to work.
I added defines into our svn in <bits/socket.h>, it have to propagate into glibc package. Many thanks for pointing this out. Petr