cleaned all trailing white space from source files.
[sdk] / ecere / src / net / network.ec
index 2cb1354..f7e966f 100644 (file)
@@ -19,6 +19,7 @@ default:
 
 #include <netinet/in.h>
 #include <netdb.h>
+#include <sys/select.h>
 #include <sys/socket.h>
 #include <sys/wait.h>
 #include <sys/types.h>
@@ -81,7 +82,7 @@ static class NetworkThread : Thread
       while(!network.networkTerminated)
       {
          int ns = network.ns;
-         
+
          if(ns)
          {
             struct timeval tv = { 0, 0 }; // TESTING 0 INSTEAD OF (int)(1000000 / 18.2) };
@@ -106,7 +107,7 @@ static class NetworkThread : Thread
                network.mutex.Release();
                network.selectSemaphore.Wait();
                network.mutex.Wait();
-            } 
+            }
             else
             {
                ecere::sys::Sleep(1 / 18.2f);
@@ -119,7 +120,7 @@ static class NetworkThread : Thread
             network.socketsSemaphore.Wait();
             network.mutex.Wait();
          }
-         
+
       }
       network.mutex.Release();
       return 0;