summaryrefslogtreecommitdiff
path: root/extra/celestia/gcc-4.7-fixes.diff
diff options
context:
space:
mode:
Diffstat (limited to 'extra/celestia/gcc-4.7-fixes.diff')
-rw-r--r--extra/celestia/gcc-4.7-fixes.diff10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/celestia/gcc-4.7-fixes.diff b/extra/celestia/gcc-4.7-fixes.diff
new file mode 100644
index 000000000..9ca09e03f
--- /dev/null
+++ b/extra/celestia/gcc-4.7-fixes.diff
@@ -0,0 +1,10 @@
+--- a/src/celmath/intersect.h
++++ b/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,