Use the socket portability layer when needed.
[folly.git] / folly / FileUtil.cpp
index 71eee1d88f039d0839b3cd67ec22c5c32f6bc3ff..d31e8ff945f78b0883b841277e70243f5804ac6e 100644 (file)
@@ -83,7 +83,7 @@ int flockNoInt(int fd, int operation) {
 }
 
 int shutdownNoInt(int fd, int how) {
-  return wrapNoInt(shutdown, fd, how);
+  return wrapNoInt(portability::sockets::shutdown, fd, how);
 }
 
 ssize_t readNoInt(int fd, void* buf, size_t count) {