--- ./streams.cpp~ 2009-08-21 22:01:11.000000000 +0900 +++ ./streams.cpp 2009-09-28 20:28:10.000000000 +0900 @@ -32,6 +32,12 @@ //#include //#endif +#if defined(__APPLE__) +#ifndef MSG_NOSIGNAL +#define MSG_NOSIGNAL 0 +#endif +#endif + #include "rtmp.h" #include "log.h" #include "AMFObject.h"