File TrainingChart-0.30-missing_includes.patch of Package TrainingChart

Index: TrainingChart0.30/src/basic_xml.h
===================================================================
--- TrainingChart0.30.orig/src/basic_xml.h
+++ TrainingChart0.30/src/basic_xml.h
@@ -13,6 +13,7 @@ You should have received a copy of the G
 */
 
 #include <string>
+#include <cstdlib>
 #include <stdexcept>
 using namespace std;
 
Index: TrainingChart0.30/src/datetime.cpp
===================================================================
--- TrainingChart0.30.orig/src/datetime.cpp
+++ TrainingChart0.30/src/datetime.cpp
@@ -10,6 +10,7 @@ You should have received a copy of the G
 */
 
 #include <sstream>
+#include <cstdlib>
 #include "datetime.h"
 #include "xml.h"
 #include "track.h"
Index: TrainingChart0.30/src/export.cpp
===================================================================
--- TrainingChart0.30.orig/src/export.cpp
+++ TrainingChart0.30/src/export.cpp
@@ -12,6 +12,7 @@ You should have received a copy of the G
 #include <fstream>
 #include <string>
 #include <sstream>
+#include <cstdlib>
 
 #include "tempo.h"
 #include "xml.h"
Index: TrainingChart0.30/src/laps.cpp
===================================================================
--- TrainingChart0.30.orig/src/laps.cpp
+++ TrainingChart0.30/src/laps.cpp
@@ -10,6 +10,7 @@ You should have received a copy of the G
 */
 
 #include <string>
+#include <cstdlib>
 #include <math.h>
 #include "xml.h"
 #include "datetime.h"
Index: TrainingChart0.30/src/run_data.h
===================================================================
--- TrainingChart0.30.orig/src/run_data.h
+++ TrainingChart0.30/src/run_data.h
@@ -16,6 +16,7 @@ You should have received a copy of the G
 	Auch die HERZFREQUENZ wird berechnet.*/
 /*ZEITAUFWÄNDIGE FUNKTION!!! BESSER IMPORT MIT GARMINTOOLS VERWENDEN*/
 #include <math.h>
+#include <cstdlib>
 #include "xml.h"
 #include "track.h"
 #include "datetime.h"
Index: TrainingChart0.30/src/tempo.cpp
===================================================================
--- TrainingChart0.30.orig/src/tempo.cpp
+++ TrainingChart0.30/src/tempo.cpp
@@ -10,6 +10,7 @@ You should have received a copy of the G
 */
 
 #include <string>
+#include <cstdlib>
 #include <sstream>
 #include <fstream>
 #include <iostream>
Index: TrainingChart0.30/src/xml.cpp
===================================================================
--- TrainingChart0.30.orig/src/xml.cpp
+++ TrainingChart0.30/src/xml.cpp
@@ -10,6 +10,7 @@ You should have received a copy of the G
 */
 
 #include <fstream>
+#include <cstring>
 #include <iostream>
 #include <string>
 #include <sstream>
openSUSE Build Service is sponsored by