[mapserver-commits] r11088 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Sun Mar 6 13:28:21 EST 2011


Author: rouault
Date: 2011-03-06 10:28:21 -0800 (Sun, 06 Mar 2011)
New Revision: 11088

Modified:
   trunk/mapserver/mapgdal.c
Log:
Fix compilation when configuring --with-ogr but --without-gdal

Modified: trunk/mapserver/mapgdal.c
===================================================================
--- trunk/mapserver/mapgdal.c	2011-03-06 18:25:02 UTC (rev 11087)
+++ trunk/mapserver/mapgdal.c	2011-03-06 18:28:21 UTC (rev 11088)
@@ -33,12 +33,15 @@
 
 MS_CVSID("$Id$")
 
+#if defined(USE_GDAL) || defined(USE_OGR)
+#include "cpl_conv.h"
+#include "cpl_string.h"
+#include "ogr_srs_api.h"
+#endif
+
 #ifdef USE_GDAL
 
 #include "gdal.h"
-#include "ogr_srs_api.h"
-#include "cpl_conv.h"
-#include "cpl_string.h"
 
 static int    bGDALInitialized = 0;
 



More information about the mapserver-commits mailing list