Browse Source

v.external compile error --without-gdal --with-postgres (https://trac.osgeo.org/grass/ticket/2779)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@66597 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 9 years ago
parent
commit
06f9935e9d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      vector/v.external/main.c

+ 2 - 0
vector/v.external/main.c

@@ -24,7 +24,9 @@
 #include <grass/vector.h>
 #include <grass/glocale.h>
 
+#ifdef HAVE_OGR
 #include <ogr_api.h>
+#endif
 
 #include "local_proto.h"