]> git.tdb.fi Git - libs/net.git/blobdiff - source/net/socket.cpp
Fix some compilation problems
[libs/net.git] / source / net / socket.cpp
index 5af2b4f507e34de1a3527e1c9b99b5693441eae7..75919777e6cb0c256d3a9dea1bf0ded6bd3587b4 100644 (file)
@@ -1,5 +1,6 @@
 #ifndef WIN32
 #include <cerrno>
+#include <unistd.h>
 #include <fcntl.h>
 #include <sys/socket.h>
 #endif