[GRASS-SVN] r43107 - grass/trunk/display/d.font

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 14 14:02:48 EDT 2010


Author: mmetz
Date: 2010-08-14 18:02:48 +0000 (Sat, 14 Aug 2010)
New Revision: 43107

Modified:
   grass/trunk/display/d.font/main.c
Log:
d.font: LFS for wingrass

Modified: grass/trunk/display/d.font/main.c
===================================================================
--- grass/trunk/display/d.font/main.c	2010-08-14 18:02:09 UTC (rev 43106)
+++ grass/trunk/display/d.font/main.c	2010-08-14 18:02:48 UTC (rev 43107)
@@ -17,6 +17,7 @@
  *               for details.
  *
  *****************************************************************************/
+#include <grass/config.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -97,7 +98,7 @@
     }
 
     if (opt2->answer) {		/* Full path to freetype font */
-	struct stat info;
+	STRUCT_STAT info;
 
 	/* Check a valid filename has been supplied */
 	if (stat(opt2->answer, &info) != 0)



More information about the grass-commit mailing list