summaryrefslogtreecommitdiffstats
path: root/src/2geom/rect.h
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-09-12 23:07:54 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-09-12 23:07:54 +0000
commit7d48017ed5ea6372b943275fdf31ed871d76e67e (patch)
tree70219858b1564978b46bed452e44a8ec71b2ca72 /src/2geom/rect.h
parentfix curve test. curve with empty pathvector is *not* closed. (diff)
downloadinkscape-7d48017ed5ea6372b943275fdf31ed871d76e67e.tar.gz
inkscape-7d48017ed5ea6372b943275fdf31ed871d76e67e.zip
update 2geom to rev1583
(bzr r6796)
Diffstat (limited to 'src/2geom/rect.h')
-rw-r--r--src/2geom/rect.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/2geom/rect.h b/src/2geom/rect.h
index 21cdcf849..f8ac7a2f7 100644
--- a/src/2geom/rect.h
+++ b/src/2geom/rect.h
@@ -35,9 +35,8 @@
* MenTaLguY <mental@rydia.net>
*/
-#ifdef _2GEOM_D2 /*This is intentional: we don't actually want anyone to
- include this, other than D2.h. If somone else tries, D2
- won't be defined. If it is, this will already be included. */
+#include <2geom/d2.h>
+
#ifndef _2GEOM_RECT
#define _2GEOM_RECT
@@ -188,7 +187,7 @@ double distance( Point const& p, Rect const& rect )
} // end namespace Geom
#endif //_2GEOM_RECT
-#endif //_2GEOM_D2
+
/*
Local Variables:
mode:c++