summaryrefslogtreecommitdiff
path: root/src/lib/rect.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/rect.h')
-rw-r--r--src/lib/rect.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/rect.h b/src/lib/rect.h
index 4851ad007..07fb22dc9 100644
--- a/src/lib/rect.h
+++ b/src/lib/rect.h
@@ -24,6 +24,7 @@
#include "position.h"
#include <boost/optional.hpp>
#include <algorithm>
+#include <cmath>
/* Put this inside a namespace as Apple put a Rect in the global namespace */
@@ -114,6 +115,8 @@ public:
}
};
+extern bool operator== (Rect<double> const & a, Rect<double> const & b);
+
}
#endif