summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-08-05 10:13:57 +0100
committerChris Michael <cp.michael@samsung.com>2013-08-05 10:14:46 +0100
commit016e3654245bde12cd9cafc84957e99ba0cf6f07 (patch)
tree9391abf16cd7c6349efdf7a08c31be575ae8df3d /src/lib
parent35e1ddc6f61077d1e9be60294af4d88090ab1281 (diff)
Don't call fcntl functions if we do not HAVE_FCNTL support built in.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to '')
-rw-r--r--src/lib/evas/cserve2/evas_cs2_client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/evas/cserve2/evas_cs2_client.c b/src/lib/evas/cserve2/evas_cs2_client.c
index c6f66ab6f5..9fde9412d8 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)
150 */ 150 */
151 } 151 }
152 152
153#ifdef HAVE_FCNTL
153 fcntl(s, F_SETFL, O_NONBLOCK); 154 fcntl(s, F_SETFL, O_NONBLOCK);
155#endif
154 156
155 socketfd = s; 157 socketfd = s;
156 158