Ivan Safrin 13 лет назад
Родитель
Сommit
3a4610a4bd
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      Core/Contents/Source/PolySocket.cpp

+ 4 - 1
Core/Contents/Source/PolySocket.cpp

@@ -22,7 +22,10 @@ THE SOFTWARE.
 
 
 #include "PolySocket.h"
 #include "PolySocket.h"
 #include "PolyLogger.h"
 #include "PolyLogger.h"
-#include <unistd.h>
+
+#ifndef _WINDOWS
+	#include <unistd.h>
+#endif
 
 
 using namespace Polycode;
 using namespace Polycode;
 using std::vector;
 using std::vector;