#include <math.h> 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
This commit is contained in:
bbaetz%cs.mcgill.ca 2001-12-12 10:17:55 +00:00
parent f1922f1b8a
commit ab526e6818
2 changed files with 6 additions and 3 deletions

View File

@ -36,9 +36,11 @@
*
* ----- END LICENSE BLOCK ----- */
#include "nsSVGBPathBuilder.h"
#include <math.h>
#include<stdio.h>
#include <stdio.h>
#include "nsSVGBPathBuilder.h"
nsSVGBPathBuilder::nsSVGBPathBuilder()
: mBPath(nsnull),
mBPathSize(0),

View File

@ -37,13 +37,14 @@
*
* ----- END LICENSE BLOCK ----- */
#include <math.h>
#include "nsSVGGraphicFrame.h"
#include "nsIDOMSVGAnimatedPathData.h"
#include "nsIDOMSVGPathSegList.h"
#include "nsIDOMSVGPathSeg.h"
#include "nsASVGPathBuilder.h"
#include "nsIDOMSVGMatrix.h"
#include <math.h>
class nsSVGPathFrame : public nsSVGGraphicFrame
{