Macosx clock

I fixed compilation under Mac OS X, the fix should be good enough for development environments but maybe it would need to be reconsidered for production if there is anyone out there really using Mac OS X as a server xD

I did not change my previous patch in clock.c because it still seems that this method is the prefered one, I just wasn't motivated enough to try translating here to this use case, maybe I can dig deeper later if required.


All tests pass except the tcp one mentionned in issue #7