MSG_SIGNAL is not available on OSX, therefore mochad will not compile on OSX. The fix is easy:
#ifndef MSG_NOSIGNAL #define MSG_NOSIGNAL 0 #ifdef SO_NOSIGPIPE #define USE_SO_NOSIGPIPE #endif #endif
Just add it to mochad.c and encode.c.
I've attached a patch with a simple version of this fix. mmauka, can you put this in your next release?
Log in to post a comment.
I've attached a patch with a simple version of this fix. mmauka, can you put this in your next release?