diff --git a/src/mastersrv/mastersrv.cpp b/src/mastersrv/mastersrv.cpp
index 9accbb6c5..009840742 100644
--- a/src/mastersrv/mastersrv.cpp
+++ b/src/mastersrv/mastersrv.cpp
@@ -380,7 +380,7 @@ int main(int argc, const char **argv) // ignore_convention
dbg_msg("mastersrv", "started");
- while(1)
+ while(true)
{
m_NetOp.Update();
m_NetChecker.Update();
diff --git a/src/twping/twping.cpp b/src/twping/twping.cpp
index e9af90a6a..2fa897785 100644
--- a/src/twping/twping.cpp
+++ b/src/twping/twping.cpp
@@ -1,9 +1,9 @@
#include
#include
+#include
#include
#include
#include
-#include
static CNetClient g_NetOp; // main