xplanet/xplanet-1.2.1-g++44.patch

20 lines
701 B
Diff

diff -ru xplanet-1.2.1/src/Satellite.cpp xplanet-1.2.1-g++44/src/Satellite.cpp
--- xplanet-1.2.1/src/Satellite.cpp 2006-03-26 01:34:21.000000000 +0100
+++ xplanet-1.2.1-g++44/src/Satellite.cpp 2009-11-13 20:03:52.000000000 +0100
@@ -1,4 +1,5 @@
#include <clocale>
+#include <cstdio>
#include <cstring>
#include <iostream>
using namespace std;
diff -ru xplanet-1.2.1/src/Separation.cpp xplanet-1.2.1-g++44/src/Separation.cpp
--- xplanet-1.2.1/src/Separation.cpp 2008-11-14 01:19:05.000000000 +0100
+++ xplanet-1.2.1-g++44/src/Separation.cpp 2009-11-13 20:04:18.000000000 +0100
@@ -1,5 +1,6 @@
#include <cmath>
#include <iostream>
+#include <cstdio>
#include "Separation.h"
#include "View.h"