[project @ 2002-07-28 22:17:32 by unknown_lamer]
[clinton/bobotpp.git] / source / Bot.C
index 6852832..0a9f3b4 100644 (file)
@@ -17,6 +17,7 @@
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307, USA.
 
 #include <fstream>
+#include <algorithm>
 #include <iomanip>
 #include <cstring>
 #include <cstdlib>
@@ -667,7 +668,7 @@ namespace
 void
 Bot::destroy_user_functions ()
 {
-  for_each (userFunctions.begin (),
+  std::for_each (userFunctions.begin (),
            userFunctions.end (),
            erase_userf);
   userFunctions.erase (userFunctions.begin (),