forked from enlightenment/efl
Don't call fcntl functions if we do not HAVE_FCNTL support built in.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
35e1ddc6f6
commit
016e365424
|
@ -150,7 +150,9 @@ _server_connect(void)
|
|||
*/
|
||||
}
|
||||
|
||||
#ifdef HAVE_FCNTL
|
||||
fcntl(s, F_SETFL, O_NONBLOCK);
|
||||
#endif
|
||||
|
||||
socketfd = s;
|
||||
|
||||
|
|
Loading…
Reference in New Issue