From ab526e681839e37fd655626bfc67f2009d457ead Mon Sep 17 00:00:00 2001 From: "bbaetz%cs.mcgill.ca" Date: Wed, 12 Dec 2001 10:17:55 +0000 Subject: [PATCH] #include before libart's headers, so that M_PI isn't already defined. libart has an #ifdef guard, math.h obviously doesn't. Hopefully fixes AIX build bustage. Not part of defaut build. git-svn-id: svn://10.0.0.236/trunk@110390 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/svg/base/src/nsSVGBPathBuilder.cpp | 6 ++++-- mozilla/layout/svg/base/src/nsSVGPathFrame.cpp | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/mozilla/layout/svg/base/src/nsSVGBPathBuilder.cpp b/mozilla/layout/svg/base/src/nsSVGBPathBuilder.cpp index 0d1e2a65e14..d121fd50d13 100644 --- a/mozilla/layout/svg/base/src/nsSVGBPathBuilder.cpp +++ b/mozilla/layout/svg/base/src/nsSVGBPathBuilder.cpp @@ -36,9 +36,11 @@ * * ----- END LICENSE BLOCK ----- */ -#include "nsSVGBPathBuilder.h" #include -#include +#include + +#include "nsSVGBPathBuilder.h" + nsSVGBPathBuilder::nsSVGBPathBuilder() : mBPath(nsnull), mBPathSize(0), diff --git a/mozilla/layout/svg/base/src/nsSVGPathFrame.cpp b/mozilla/layout/svg/base/src/nsSVGPathFrame.cpp index c881e61b174..a266eab9b20 100644 --- a/mozilla/layout/svg/base/src/nsSVGPathFrame.cpp +++ b/mozilla/layout/svg/base/src/nsSVGPathFrame.cpp @@ -37,13 +37,14 @@ * * ----- END LICENSE BLOCK ----- */ +#include + #include "nsSVGGraphicFrame.h" #include "nsIDOMSVGAnimatedPathData.h" #include "nsIDOMSVGPathSegList.h" #include "nsIDOMSVGPathSeg.h" #include "nsASVGPathBuilder.h" #include "nsIDOMSVGMatrix.h" -#include class nsSVGPathFrame : public nsSVGGraphicFrame {