aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qtopia/kstars/kstars-embedded-0.8.5/gcc45-compilation-fixes.patch
blob: 4004edebc488fb044c55a08fe3b1569766e0edca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Index: kstars/kstars.cpp
===================================================================
--- kstars.orig/kstars.cpp
+++ kstars/kstars.cpp
@@ -37,9 +37,9 @@
 #include <qpe/mimetype.h>
 #include <qpe/applnk.h>
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <stream.h>
+#include <cstdio>
+#include <cstdlib>
+#include <iostream>
 
 #include "timedialog.h"
 #include "locationdialog.h"
Index: kstars/skymap.cpp
===================================================================
--- kstars.orig/skymap.cpp
+++ kstars/skymap.cpp
@@ -36,9 +36,9 @@
 #include <qpe/mimetype.h>
 #include <qpe/applnk.h>
 
-#include <math.h>
-#include <stdlib.h>
-#include <stream.h>
+#include <cmath>
+#include <cstdlib>
+#include <iostream>
 #include <unistd.h>
 
 #include "kstars.h"