Index: code/trunk/src/libraries/network/CMakeLists.txt
===================================================================
--- code/trunk/src/libraries/network/CMakeLists.txt	(revision 8329)
+++ code/trunk/src/libraries/network/CMakeLists.txt	(revision 8351)
@@ -87,4 +87,5 @@
     enet_orxonox
     ${Boost_THREAD_LIBRARY}
+    ${CEGUI_TOLUA_LIBRARY}
     util
     core
Index: code/trunk/src/libraries/network/LANDiscoverable.cc
===================================================================
--- code/trunk/src/libraries/network/LANDiscoverable.cc	(revision 8329)
+++ code/trunk/src/libraries/network/LANDiscoverable.cc	(revision 8351)
@@ -29,10 +29,10 @@
 #include "LANDiscoverable.h"
 
-#include "NetworkPrereqs.h"
-#include "packet/ServerInformation.h"
-
 #include <enet/enet.h>
 #include <cassert>
 #include <cstring>
+
+#include "util/Debug.h"
+#include "packet/ServerInformation.h"
 
 namespace orxonox
Index: code/trunk/src/libraries/network/MasterServerComm.cc
===================================================================
--- code/trunk/src/libraries/network/MasterServerComm.cc	(revision 8329)
+++ code/trunk/src/libraries/network/MasterServerComm.cc	(revision 8351)
@@ -28,4 +28,5 @@
 
 #include "MasterServerComm.h"
+#include "util/Debug.h"
 
 namespace orxonox
Index: code/trunk/src/libraries/network/NetworkPrecompiledHeaders.h
===================================================================
--- code/trunk/src/libraries/network/NetworkPrecompiledHeaders.h	(revision 8329)
+++ code/trunk/src/libraries/network/NetworkPrecompiledHeaders.h	(revision 8351)
@@ -62,7 +62,4 @@
 #include <cmath>    // 15
 
-#define WIN32_LEAN_AND_MEAN
-#include <enet/enet.h> // 6, 3.1MB
-
 #include <OgreMath.h>        // 15
 #include <OgreVector2.h>     // 15
@@ -71,4 +68,7 @@
 #include <OgreQuaternion.h>  // 15
 #include <OgreColourValue.h> // 15
+
+#define WIN32_LEAN_AND_MEAN
+#include <enet/enet.h> // 6, 3.1MB
 
 #include "util/mbool.h" // 11
Index: code/trunk/src/libraries/network/NetworkPrereqs.h
===================================================================
--- code/trunk/src/libraries/network/NetworkPrereqs.h	(revision 8329)
+++ code/trunk/src/libraries/network/NetworkPrereqs.h	(revision 8351)
@@ -52,8 +52,11 @@
 #    endif
 #  endif
-#elif defined ( ORXONOX_GCC_VISIBILITY )
+#  define _NetworkPrivate
+#elif defined (ORXONOX_GCC_VISIBILITY)
 #  define _NetworkExport  __attribute__ ((visibility("default")))
+#  define _NetworkPrivate __attribute__ ((visibility("hidden")))
 #else
 #  define _NetworkExport
+#  define _NetworkPrivate
 #endif
 
Index: code/trunk/src/libraries/network/Server.cc
===================================================================
--- code/trunk/src/libraries/network/Server.cc	(revision 8329)
+++ code/trunk/src/libraries/network/Server.cc	(revision 8351)
@@ -252,5 +252,5 @@
    * @brief: return packet loss ratio to client (scales from 0 to 1)
    */
-  double Server::getPacketLoss(unsigned int clientID)
+  float Server::getPacketLoss(unsigned int clientID)
   {
 //     assert(ClientInformation::findClient(clientID));
Index: code/trunk/src/libraries/network/Server.h
===================================================================
--- code/trunk/src/libraries/network/Server.h	(revision 8329)
+++ code/trunk/src/libraries/network/Server.h	(revision 8351)
@@ -74,5 +74,5 @@
     unsigned int getRTT(unsigned int clientID);
     virtual void printRTT();
-    double getPacketLoss(unsigned int clientID);
+    float getPacketLoss(unsigned int clientID);
   protected:
     void updateGamestate();
Index: code/trunk/src/libraries/network/packet/FunctionCalls.cc
===================================================================
--- code/trunk/src/libraries/network/packet/FunctionCalls.cc	(revision 8329)
+++ code/trunk/src/libraries/network/packet/FunctionCalls.cc	(revision 8351)
@@ -33,4 +33,5 @@
 #include "network/FunctionCallManager.h"
 #include "network/GamestateHandler.h"
+#include "network/Host.h"
 
 namespace orxonox {
