[GRASS-SVN] r34804 - grass/branches/develbranch_6/raster/r.surf.fractal

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Dec 8 09:26:04 EST 2008


Author: martinl
Date: 2008-12-08 09:26:04 -0500 (Mon, 08 Dec 2008)
New Revision: 34804

Modified:
   grass/branches/develbranch_6/raster/r.surf.fractal/process.c
Log:
glynn: #include <grass/gmath.h> must go last due to g2c.h "quirks"


Modified: grass/branches/develbranch_6/raster/r.surf.fractal/process.c
===================================================================
--- grass/branches/develbranch_6/raster/r.surf.fractal/process.c	2008-12-08 14:06:44 UTC (rev 34803)
+++ grass/branches/develbranch_6/raster/r.surf.fractal/process.c	2008-12-08 14:26:04 UTC (rev 34804)
@@ -13,9 +13,10 @@
 
 /***************************************************************************/
 
-#include <grass/gmath.h>
 #include <grass/glocale.h>
 #include "frac.h"
+/* gmath.h must go last, as it can interfere with ANSI headers */
+#include <grass/gmath.h>
 
 int process(void)
 {



More information about the grass-commit mailing list