From 4dea318b5ba4210f5ef7e8d48f8ad2c9fbbbf425 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 8 Feb 2015 00:49:56 +0900 Subject: [PATCH] nghttpx: Fix compile error if SOCK_NONBLOCK is undefined --- src/shrpx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shrpx.cc b/src/shrpx.cc index ef94c87d..17896474 100644 --- a/src/shrpx.cc +++ b/src/shrpx.cc @@ -202,7 +202,7 @@ std::unique_ptr create_acceptor(ConnectionHandler *handler, if (fd == -1) { continue; } - make_socket_nonblocking(fd); + util::make_socket_nonblocking(fd); #endif // !SOCK_NONBLOCK int val = 1; if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &val,