File celestia-gcc47.patch of Package kde3-celestia

Index: src/celmath/intersect.h
===================================================================
--- src/celmath/intersect.h.orig
+++ src/celmath/intersect.h
@@ -15,6 +15,7 @@
 #include "ray.h"
 #include "sphere.h"
 #include "ellipsoid.h"
+#include "mathlib.h"
 
 
 template<class T> bool testIntersection(const Ray3<T>& ray,
Index: src/celestia/kde/kdeapp.cpp
===================================================================
--- src/celestia/kde/kdeapp.cpp.orig
+++ src/celestia/kde/kdeapp.cpp
@@ -19,6 +19,7 @@
 #include <libintl.h>
 #include <fstream>
 #include <sstream>
+#include <unistd.h>
 
 #include <qpushbutton.h>
 #include <qslider.h>
openSUSE Build Service is sponsored by