devilhorns pushed a commit to branch master.

commit 016e3654245bde12cd9cafc84957e99ba0cf6f07
Author: Chris Michael <[email protected]>
Date:   Mon Aug 5 10:13:57 2013 +0100

    Don't call fcntl functions if we do not HAVE_FCNTL support built in.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/lib/evas/cserve2/evas_cs2_client.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/evas/cserve2/evas_cs2_client.c 
b/src/lib/evas/cserve2/evas_cs2_client.c
index c6f66ab..9fde941 100644
--- a/src/lib/evas/cserve2/evas_cs2_client.c
+++ b/src/lib/evas/cserve2/evas_cs2_client.c
@@ -150,7 +150,9 @@ _server_connect(void)
          */
      }
 
+#ifdef HAVE_FCNTL
    fcntl(s, F_SETFL, O_NONBLOCK);
+#endif
 
    socketfd = s;
 

-- 

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk

Reply via email to