Prechádzať zdrojové kódy

vlib: fix compilation issue when configured without GDAL

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58294 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 11 rokov pred
rodič
commit
f8eafa97d7
2 zmenil súbory, kde vykonal 4 pridanie a 0 odobranie
  1. 2 0
      lib/vector/Vlib/read_pg.c
  2. 2 0
      lib/vector/Vlib/rewind_pg.c

+ 2 - 0
lib/vector/Vlib/read_pg.c

@@ -29,6 +29,8 @@
 #include <grass/dbmi.h>
 #include <grass/dbmi.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 
+#include "local_proto.h"
+
 #ifdef HAVE_POSTGRES
 #ifdef HAVE_POSTGRES
 #include "pg_local_proto.h"
 #include "pg_local_proto.h"
 
 

+ 2 - 0
lib/vector/Vlib/rewind_pg.c

@@ -16,6 +16,8 @@
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 
+#include "local_proto.h"
+
 #ifdef HAVE_POSTGRES
 #ifdef HAVE_POSTGRES
 #include "pg_local_proto.h"
 #include "pg_local_proto.h"
 #endif
 #endif