updated to use new modules (more independance to libi2ncommon)
[libasyncio] / asyncio / async_socket.cpp
index 34e04ef..0314fff 100644 (file)
@@ -15,7 +15,7 @@
 #include <sys/un.h>
 #include <netinet/in.h>
 #include <limits.h>
-#include <filefunc.hxx>
+#include <asyncio_system_tools.cpp>
 
 
 namespace AsyncIo
@@ -302,7 +302,7 @@ bool UnixServerSocketBase::open(const std::string& path, int mode)
       MegaAddr addr;
       addr.m_addr_un.sun_family= AF_UNIX;
       strncpy(addr.m_addr_un.sun_path, path.c_str(), PATH_MAX);
-      ::I2n::unlink(path); // just in case...
+      Utils::unlink(path); // just in case...
       mode_t old_mask= ::umask( (mode & 0777) ^ 0777);
       if (::bind(fd,(sockaddr*)&addr.m_addr_un, SUN_LEN(&addr.m_addr_un)) < 0)
       {