Wow, does that mean that MacOS X gets it right and actually uses
unsigned types for uid_t and gid_t? Awesome!
Unixen have started to actually follow the standards and make
those _t types consistent. Using them is probably more portable
nowadays than rewriting all types by hand as DJB did back i
Hello,
I had to apply the attached patch to build on OS X.
The error before applying the patch is:
/usr/include/unistd.h:691:6: error: conflicting types for
'getpeereid'
int getpeereid(int, uid_t *, gid_t *);
^
In file included from ipc_eid.c:3:0:
getpeereid.h:6:12: