Re: Building skalibs 1.6.0.0 on OS X

2014-05-14 Thread Laurent Bercot
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

Building skalibs 1.6.0.0 on OS X

2014-05-14 Thread Patrick Mahoney
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: