- fix build with gcc46

This commit is contained in:
Dirk Meyer 2012-01-14 09:14:53 +00:00
parent 780285cd26
commit 8075eba87e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=289158

View File

@ -0,0 +1,12 @@
--- SpaceTimeViewer/DrawView+Finding.m.orig 2006-10-29 20:52:48.000000000 +0100
+++ SpaceTimeViewer/DrawView+Finding.m 2012-01-14 08:09:36.000000000 +0100
@@ -24,7 +24,9 @@
#include "DrawView.h"
#include <math.h>
+#if !defined(__FreeBSD__)
#include <values.h>
+#endif
// returns a rectangle that is the same as rect but has positive height and width