moai/moai-dev — pull request #942 by monsieurh (2014-06-16 10:06:24+00:00)
Title: Safeguard for systems not supporting STREAMS

Recent Linux systems don't support STREAMS, but have the flag #ifdef HAVE_STROPTS_H leading to a compilation error when trying to reach . The following safeguard tests explicitly the presence and support of STREAMS and uses as a replacement.