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