[Ante-cvs] SF.net SVN: ante:[499] trunk/ant/skills
Brought to you by:
roguestar191
|
From: <rog...@us...> - 2009-04-01 09:10:33
|
Revision: 499
http://ante.svn.sourceforge.net/ante/?rev=499&view=rev
Author: roguestar191
Date: 2009-04-01 09:10:27 +0000 (Wed, 01 Apr 2009)
Log Message:
-----------
make scripts compile with 4.3.2
Modified Paths:
--------------
trunk/ant/skills/fcgi/fsocket.cpp
trunk/ant/skills/fcgi/fsocket.h
trunk/ant/skills/include/strhelp.h
trunk/ant/skills/include/strhelp.hpp
Modified: trunk/ant/skills/fcgi/fsocket.cpp
===================================================================
--- trunk/ant/skills/fcgi/fsocket.cpp 2009-04-01 02:37:58 UTC (rev 498)
+++ trunk/ant/skills/fcgi/fsocket.cpp 2009-04-01 09:10:27 UTC (rev 499)
@@ -1,4 +1,11 @@
#include "fsocket.h"
+#include <memory.h>
+#include <stdio.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <cstdlib>
+#include <cstring>
+#include <algorithm>
//Sockets need to idle out after just a few seconds of no input..
Sockets::Sockets(const char *port, TimerControl*tin) {
timer = tin;
Modified: trunk/ant/skills/fcgi/fsocket.h
===================================================================
--- trunk/ant/skills/fcgi/fsocket.h 2009-04-01 02:37:58 UTC (rev 498)
+++ trunk/ant/skills/fcgi/fsocket.h 2009-04-01 09:10:27 UTC (rev 499)
@@ -16,6 +16,7 @@
#include <exception> //exceptions
#include <memory> //memory stuff (NEW / DELETE / uhh
#include "socketimer.h"
+
class asock {
public:
asock() { sock = 0; ptr = NULL; }
Modified: trunk/ant/skills/include/strhelp.h
===================================================================
--- trunk/ant/skills/include/strhelp.h 2009-04-01 02:37:58 UTC (rev 498)
+++ trunk/ant/skills/include/strhelp.h 2009-04-01 09:10:27 UTC (rev 499)
@@ -4,6 +4,7 @@
#include <iostream>
#include <string>
#include <vector>
+#include <algorithm>
inline void replaceAll(std::string&in,std::string from, std::string to) {
size_t find = in.find(from);
while(find != std::string::npos) {
Modified: trunk/ant/skills/include/strhelp.hpp
===================================================================
--- trunk/ant/skills/include/strhelp.hpp 2009-04-01 02:37:58 UTC (rev 498)
+++ trunk/ant/skills/include/strhelp.hpp 2009-04-01 09:10:27 UTC (rev 499)
@@ -4,6 +4,7 @@
#include <iostream>
#include <string>
#include <vector>
+#include <algorithm>
inline void replaceAll(std::string&in,std::string from, std::string to) {
size_t find = in.find(from);
while(find != std::string::npos) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|