Eugene Hutorny - 2011-02-13

I am not sure if I did everything right but these actions has solved the build issue on OpenSolaris 2010 with gcc-4.3.2
1. Added /usr/lib/libsocket.so to the libraries
2. Included cfmakeraw.c into project. Files are available here:
http://opensolaris.org/jive/thread.jspa?messageID=486923&tstart=0
Links to file:
http://opensolaris.org/jive/servlet/JiveServlet/download/187-130773-486595-15427/cfmakeraw.h
http://opensolaris.org/jive/servlet/JiveServlet/download/187-130773-486595-15428/cfmakeraw.c

Note: It seems cfmakeraw is missing on OpenSolaris and the files above provide an implementation