Index: tntnet-1.6.3/sdk/tools/ecppc/scopevar.cpp
===================================================================
--- tntnet-1.6.3.orig/sdk/tools/ecppc/scopevar.cpp	2008-06-06 09:27:30.000000000 +0300
+++ tntnet-1.6.3/sdk/tools/ecppc/scopevar.cpp	2008-06-06 09:28:19.000000000 +0300
@@ -22,6 +22,7 @@
 #include <tnt/stringescaper.h>
 #include <iterator>
 #include <iostream>
+#include <algorithm>
 
 namespace tnt
 {
